So I use this so player can make it day/night:
"RewardCommands": {
"Make Server Day": {
"Command": [
"env.time 10"
],
"Description": "This command will set the server time to 10:00 making it day",
"Cost": 25
},
"Make Server Night": {
"Command": [
"env.time 22"
],
"Description": "This command will set the server time to 22:00 making it night",
"Cost": 25
}
},
But it becomes a spam fest of day night day night day night night day night day..... So Im wondering is there a way to make it so if someone buys day or night that the other cannot be purchased for Xmin? (probably 5min) so as to stop the spam?
ServerRewards
Moved
Total Downloads: 14,033 - First Release: Mar 2, 2016 - Last Update: Jun 9, 2018
- 5/5, 61 likes
-
funked after update, works as a gui but all have 0 points and not gaining
[DOUBLEPOST=1487280704][/DOUBLEPOST]sorry gaining is happening, just lost all stored points -
-
all reward points where lost after update, everyone is at 0 points, everything else works but all people lost their points they had from before update.
-
Wulf Community Admin
-
no Wulf, i am the host, its my own server
-
Ha im actually trying to reset points !! Tell me your secret. Ive cleared , saved and reloaded the date file but still everyone has the same points in game.
-
Did you unload rewards before deleting the files?
-
-
Heyo!
I've got a problem with GUI - all icons are just wite squares... I'm using local-based images. Everything use to work before last wipe.
The folder use to be called icons.
This is the steps i've done already:
1. Run loadimages for a few times
2. Run reload ServerRewards for a few times
3. Rename icons folder from "icons" to "Icons"Last edited by a moderator: Feb 17, 2017 -
2. loadimages (it may return multiple notifications in console)
3. oxide.reload ServerRewards
If that doesn't work, but the items work when you buy them from the store, close your client and log back in. That seemed to fix the problem for me. -
-
Hey all! Since update yesterday i get high pings on my server. i guess the server rewards plugin is the reason. any idea how to figure out which addon doesnt work correctly? TY!
-
-
If you're looking for an easy way to get the JSON needed to add in workshop items, I made an easy to use tool. All you have to do is paste the workshop URL and it prints out JSON needed to add it to your store.
http://dbnerd.com/json/curl.php
Edit: This is being worked on. Later this week there will be a GUI to pick and choose from and it will build your entire JSON file. -
-
Is there any way we could add a check to see if the GUI is open before overlapping it with another GUI? Possibly make it toggle the window if the command is called when the GUI is open?
Currently, you cannot use this with 'HotKeys' plugin because if you press the hotkey for reward shop twice it overlaps the GUI's making all buttons unusable and essentially the only way I've gotten out of it is to restart my client or reload the plugin..
Not a huge deal to deal with, but not a huge deal to fix either. -
-
-
Edit: All the categories in the Rust Workshop should now be showing proper JSON now. If you notice something not working, feel free to mention it.Last edited by a moderator: Feb 20, 2017