Skip to content

Commit

Permalink
added teleporter public private settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kaduvert committed Jul 10, 2024
1 parent 8920f0d commit d4f2147
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion advanced/teleporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,47 @@ module.exports = {
/^(.+)$/
],
name: 'skull'
},
settings: {
display: [
/^Einstellungen$/
]
},
public: {
display: [
/^Öffentlich$/,
/^Alle können den Teleporter anwählen\.$/
]
},
private: {
display: [
/^Privat$/,
/^Nur du kannst den Teleporter anwählen\.$/
]
}
},
windows: {
selectDestination: {
titlePattern: /^GS-Teleporter$/,
requiredSlots: 0
requiredSlots: 0,
actions: {
getSettings: {
itemToClick: 'settings',
successEvent: 'windowOpen:settings'
}
}
},
settings: {
titlePattern: /^Teleporter-Einstellungen$/,
requiredSlots: 0,
actions: {
makePublic: {
itemToClick: 'public'
},
makePrivate: {
itemToClick: 'private'
},
}
}
}
}

0 comments on commit d4f2147

Please sign in to comment.