diff --git a/advanced/teleporter.js b/advanced/teleporter.js index 1fb4484..d69353c 100644 --- a/advanced/teleporter.js +++ b/advanced/teleporter.js @@ -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' + }, + } } } }