ServerTokens


ServerTokens is a plugin that allows players to earn "Tokens" that can be spent on configurable rewards in a GUI-based command shop. The amount needed for each reward, just like many other aspects of ServerTokens, is completely defined by you!
ServerTokens are meant to be earned through the use of outside plugins, especially "Vote Listeners"
Features:
- ServerTokens are stored by UUID and include the player's name and amount of tokens.
- ServerTokens can be given or taken away from players by console and players with proper permissions!
- ServerTokens are redeemed for rewards in a GUI-shop interface.
- New players can get a configurable amount of ServerTokens when they first join.
- Players can check their ServerTokens balance via a single command.
- A chance-based drop system, defined by the config, to give players tokens for killing mobs.
Commands:
- /token : This is the plugin's main command!
- /token shop : This command will open the GUI-shop for where players can redeemed their ServerTokens.
- /token balance : This command will send the player his/her ServerTokens balance.
- /token balance <name> : This command will send the player another player's ServerToken balance.
- /token pay <player> <amount> : This command will give another player the entered amount of ServerTokens from your balance!
- /token help <1 :: 2> : This command will display a helpful list of plugin commands.
- /token add <player> <amount> : This command will give a player the entered amount of ServerTokens!
- /token remove <player> <amount> : This command will take the entered amount of ServerTokens from the player's balance!
- /token set <player> <amount> : This command will set a player's ServerTokens balance to the entered amount!
- /token reload : This command will reload the plugin's configuration!
Permissions:
Note: All permissions listed are given by default to operators (OPs)
- ServerTokens.adminhelp: This permission allows a player to see the '/token help 2' page.
- ServerTokens.reload: This permission allows a player to use '/token reload'..
- ServerTokens.balanceothers: This permission allows a player to use '/token balance <name>'.
- ServerTokens.payothers: This permission allows a player to use '/token pay <name> <amnt>'.
- ServerTokens.addtokens: This permission allows a player to use '/token add <name> <amnt>'.
- ServerTokens.removetokens: This permission allows a player to use '/token remove <name> <amnt>'.
- ServerTokens.settokens: This permission allows a player to use '/token set <name> <amnt>'.
Configuration:
To Do:
- Allow items that are displayed in '/token shop' to show/have enchants.
- Add a feature to allow player's to buy ServerTokens with in-game cash (configurable amounts).
- mySQL/Database support.
- Whatever else is requested!
Known Bugs/Issues:
- N/A
- I would suggest FULLY reading the comments I made in the plugin's config.yml. It is really important to follow the format I used!
I hope everyone enjoys this project as much as I enjoyed making it!
If you have suggestions, ideas, or have found issues with my plugin, please leave a comment below and I will respond back as soon as possible!
-CMPSCdev
-
View User Profile
-
Send Message
Posted Mar 16, 2020Does this come with placeholders for scoreboards by any chance?
-
View User Profile
-
Send Message
Posted Mar 11, 2018When I'm trying to put LAPIS_LAZULI as the item in the configuration, I get an error when I do /token shop
Here is the part of the config:
'4': Item: LAPIS_LAZULI Meta: 0 Amount: 1 DisplayName: '&1&lLAPIS RANK' Price: 15 Lore: '' Commands: - pex user {player} group add lapisIs there anyway to fix this?
-
View User Profile
-
Send Message
Posted Jul 13, 2019In reply to cammancraft1:
Try using 'LAPIS_ORE' instead of LAPIS_LAZULI.
-
View User Profile
-
Send Message
Posted Mar 11, 2018Is there any way to set the items in the shop to be bought only a certain amount of times? For example, somebody buys a certain item in the shop that gives them a certain rank. I want the player not be able to buy it again since they have already bought that item. Is that possible? If not, would you please consider adding that feature to your plugin?
-
View User Profile
-
Send Message
Posted May 2, 2017Can anyone help me i had the problem of when i tried purchasing an item it just took it out of the shop and put it into my inventory and didnt take credits or give me the correct item it just gave me the item on show with the info on it so it didnt work at all! ?!?!?!? its a 1.8 server.
-
View User Profile
-
Send Message
Posted May 23, 2017In reply to Forge_User_12754407:
-
View User Profile
-
Send Message
Posted Feb 4, 2017Hello are there any place holderS?
-
View User Profile
-
Send Message
Posted Nov 6, 2016@pikachufan163
I've not had any trouble with running this on a 1.10.2 server, double check your config and make sure there is no extra spaces or apostrophes etc. Good luck :)
-
View User Profile
-
Send Message
Posted Sep 27, 2016I've used the format you've used but I'm getting internal errors popping up all the time when I try to use /token shop, does the plugin have trouble working with spigot?
-
View User Profile
-
Send Message
Posted May 25, 2017In reply to pikachufan163:
-
View User Profile
-
Send Message
Posted Jan 23, 2016Works perfect in 1.8! Please add myswl support to make it a good bungee plugin! It's really picky on item names and meta, so watch out, but other than that it works great! Please continue and develop this plugin, it's awesome, only token plugin that actually works!
-
View User Profile
-
Send Message
Posted Jan 5, 2016Is there anyway I can file a ticket instead of writing here?
Bug: NullPointerException when items are written in numeric form, but I don't currently have the full stacktrace.
Basically it traces back to Commands.onCommands and Utils.ShowInventory whenever a config is using numeric items.
-
View User Profile
-
Send Message
Posted Nov 4, 2015@CMPSCdev
Confirmed still working.
Spigot 1.8.8
ServerTokens V1.1 for CB 1.7.9-R0.2 Feb 07, 2015
-
View User Profile
-
Send Message
Posted Sep 30, 2015@FutureForce
Been a bit busy, believe the plugin will still work for 1.8 >, haven't been able to test.
-
View User Profile
-
Send Message
Posted Jul 26, 2015I haven't tried the plugin yet, but it'd be awesome to be able to configure an amount, so e.g
servertokens.hourtokens.6 - gives the player 6 tokens every hour.
While servertokens.hourtokens.5 gives the player 5 tokens every hour.
This would allow an interesting setup of groups, so the higher "rank" you are, the more tokens you gain an hour.
-
View User Profile
-
Send Message
Posted Jul 26, 2015Does this plugin has Variables like {tokens} , {token} ? Please awnser fast.This is awsome plugin!
-
View User Profile
-
Send Message
Posted Jul 21, 2015Great Plugin!! But, i need more space in shop =/
-
View User Profile
-
Send Message
Posted Jul 11, 2015Please make an update! Crepper eggs cause internal server errors.
-
View User Profile
-
Send Message
Posted Jul 4, 2015I have an amazing idea, you know how there is lore's for each item or token prize? You should add a "message" to them so when they get something it either gets shown in chat or gets a message just to them.
For example I had 10 tokens for 5 golden apples, if I brought it, it would say in chat > [Server] Congratulations to (player) for getting 5 golden apples for token shop
and you get to choose if only the player gets it or the whole server !
Thanks for reading!
-
View User Profile
-
Send Message
Posted May 18, 2015is this still active ?.
i'm creating a new server and want to use this but it's bin a while sins last update