wavendel_calendar
wasvendel scripts
wavendel_calendar
wasvendel scripts
wasvendel_calendar.wasvendel_calendar folder into your server's resources directory.wasvendel_calendar.sql into your database.server.cfg after your framework core.Import wasvendel_calendar.sql into your database before starting the resource for the first time.
Edit config.lua to configure daily rewards, premium days, permissions, and admin commands.
| Setting | Default | Description |
|---|---|---|
Config.Opencommand | calendar | Command used to open the calendar UI. |
Config.AdminCommand.setpremium | setpremium | Admin command used to give premium calendar access. |
Config.Permission | Configurable | Permission required to use admin calendar commands. |
Config.Days | Configurable | Daily reward configuration. |
| Command | Usage | Description |
|---|---|---|
/calendar | /calendar | Opens the daily reward calendar. |
/setpremium | /setpremium [id] | Gives premium calendar access to a player. |
Admin command access is controlled by Config.Permission in config.lua.
| Event | Payload | Description |
|---|---|---|
wasvendel_calendar:sendData | premium, claimed, rewards, currentDay | Syncs calendar data and opens the calendar UI. |
The calendar opens with the /calendar command by default.
To open it programmatically, trigger the data event from the server after validating the player.
Reward configuration is defined in config.lua under Config.Days.