The chat command was /rewards store, but I changed it to /sIt is pretty well set up now so adding a maximum buy amount for players wouldn't be a great deal of work, however it wasn't really my intention to turn this into a full on store. It is supposed to be a reward store for points earn't with playtime and in the arena with the idea being that the points take time to obtain. Although it doesn't really seem like its being used that way lol. I will look into it at a later stage
ServerRewards
Moved
Total Downloads: 14,029 - First Release: Mar 2, 2016 - Last Update: Jun 9, 2018
- 5/5, 61 likes
-
i code in a few languages but CS kinda throws me a little - if i could i'd do it for you lol
you have looked busy over the last 24 hours
thanks for all your efforts buddy, keep up the good work -
sorry. I can not find how to add the console command? the example of the permission
-
WAH! great work, mate. it was great plugin, but now it's TOP NOTCH!
just was on the way to implement GUI store on my server, but now i see what i can use this one with several changes =)
wanted to ask, can this plugin have features like - custom store name, custom commands and ability to change(RP<>eco) currency u pay for items/kits/commands? i mean can these things be changeable easily in config? this way it can be used like a in-game store =) -
error occurs after exiting some players from the server
Code:[Oxide] 14:16 [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'ServerRewards v0.2.16' (DivideByZeroException: Division by zero) [Oxide] 14:16 [Debug] at Oxide.Plugins.ServerRewards.checkForReward (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.SavePlayerData (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.cmdRewards (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
-
-
Code:/rewards add command TestCommand "say Hey!, $player.name!" 1
/rewards remove command TestCommand
It says it has removed it but it stays in the store even though it confirms that it has been successfully removed?Last edited by a moderator: Apr 16, 2016 -
Last edited by a moderator: Apr 16, 2016
-
So I seem to be having an issue with this addon not adding points at a rate I put into the config file. So I put it to add 25 points every 5min and used oxide.reload ServerRewards and it still is only giving 1 point per 1 minute. I have the newest version of the addon as I am trying it on my test server before implamenting it to my live server. Can someone see if Im missing something?
[DOUBLEPOST=1460825373][/DOUBLEPOST]Now Ive reinstalled this on my test server and Im not getting any points what so ever.Attached Files:
-
-
Any ideas how to make command for player teleportation to specified coordinates?
-
teleport.topos <player name/id> <x> <y> <z> -
-
/rewards add command Teleport "teleport.topos $player.id <x> <y> <z>" 100 -
-
-
-
-
-
-
Something that would be cool is if they could purchase a JAIL command. But I don't know if it's possible to temroaray grant a permission. Maybe make a temp permision group, have the plugin add use, run command, then have the plugin remove user from permission group.