Events
Documentation relating to the lumen_events
Last updated
Documentation relating to the lumen_events
Last updated
Works with / / . Be sure you installed one of them before to use this script.
You need to have 2 utility scripts. These will be provided by discord
uiprompt
xsound
Drag and drop the resource in your resources folder
lumen_events
Add this ensure in your server.cfg below under all utility scripts (uiprompt,xsound etc)
ensure
lumen_events
Edit the config.lua to make sure to customize the code
If you have any questions, please contact our lumen works discord.
You can set the framework you need. The available options are "redemrp" or "vorp".
Button : You can change the button for the one you need, by default it is the G key.
fireworks : If true, activates fireworks effects.
minPlayer : Indicates the minimum number of players to start the events
timeout : Time in seconds to end the event.
hourAppear : Indicates the times where the event will appear on the server.
Sound : You can add a discord link of a song that you have uploaded to discord.
You can set your custom notification system here, by default redemrp is added
Here you can configure all server events. The server will choose a random event among all those configured.
coords : coordinates where the "ornament" will appear (for example the Christmas tree)
blipIcon : hash of the icon that will appear on the map
timeStart : Time in seconds for the event to start after being announced on the server
model : Decorative object model
gift : you indicate the model and coordinates of each gift
Here you configure the rewards for each gift model
anim : The animation that the player will see when they interact with the gift
items : Here you can configure the name of the item, minimum and maximum quantity and the probability that the item will appear in the gift