#Events not working
5 messages · Page 1 of 1 (latest)
Example:
let RAID_OPEN = false;
ServerEvents.started(event => {
const server = event.server;
server.scheduleInTicks(24000, () => {
RAID_OPEN = true;
server.runCommandSilent('say [RAID EVENT] The raid portals have opened across the world!');
});
server.scheduleInTicks(48000, () => {
RAID_OPEN = false;
server.runCommandSilent('say [RAID EVENT] The portals close for now. Prepare for the next phase.');
});
});
I mean I found the wiki but there is not much on there so I just cant figure out what to use lol pretty new