add the ability to execute a command at the end of the event and a description of what it is for
Configuration is very necessarySolved
Why ?
Why what?
Why add the ability to execute a command at the end of an event ? , You dont specify what kind of command you want and the request has nothing to do with the thread title as it does not have anything to do with the configuration as it is.
In the configuration, you need to be able to add your own command. So that I can write in the configuration what command I want to execute, for example:
In the configuration file -
"Reward as a command to the player who opened the cargo": {
"List of commands that are executed in the console (%STEAMID% is the player who opened the crate)": [
"stat.score give %STEAMID% 20"
],
"Messages that the player will receive (Here you can write about what the player received)": "Congratulations, you have received 200 points"
},
Hi, added Commands To Run When Box Is Looted in 2.5.0 but I won't send any messages
Configure the commands that you want to run and set Enabled to true
When Run Commands For Owner Only is true and Lock Event To Player On First Entered is false then the looter will be the owner.
If Run Commands For Owner Only is false then all players must be an ally of the owner to receive this reward.
I may change this later, but all players must be inside of the event to receive this reward.
Unchanged, only the looter will receive Economics Money or ServerRewards Points.
Locked automatically