MyTokens
MyTokens
What is MyTokens
MyTokens is a plugin designed to be easy to use and very powerful. It currently supports 2 ways users can get tokens with a random drop chance and all drop chances and amounts are changeable. Currently you can get Tokens from Block breaking and PVP (Both can be turned on and off).
- The shop in MyTokens is completely hard coded into the plugin with the ability to edit the shops.yml file to override the default shop (Up to 53 items can be in the shop)
- The drop rates can be changed and updated on the fly in the config.yml
- The Plugin separates admin and user commands to be easier for server admins to do permissions
- MyTokens has a full in-depth config.yml with the ability to enable and disable features, you can over ride nearly anything and everything about how the tokens work
Important News
We are working on a way for you to import tokens from other tokens plugins into our system! Below is a list of supported Token Configs you can import once beta is released!
- OPTokens
- VirtualTokens
- TokensCurrency
- TokenShop
YOU CAN NOW CONVERT FROM OTHER TOKENS PLUGINS TO MYTOKENS BY CLICKING HERE http://dev.bukkit.org/bukkit-plugins/mytokens-importer/
Important links
Config Files - Default Config Values
To-Do List - To-Do List
Old Verson 1.5 or lower News
Version 1.7 will import and update your users tokens from the old Tokens.yml system when they join
Metrics
This plugin uses MCStats to track plugin usage the following is what is tracked:
- Player count
- Operating System Version & Name
- Amount of ram and Amount of processors you have currently on your machine
To disable this you can disable it in the file PluginMetrics/config.yml (By changing line opt-out: false to opt-out: true)
Permissions
MYT Command Permisisons (Public)
mytokens.myt.open - Allows users to open the shop interface
mytokens.myt.bal - Allows users to view the balance
mytokens.myt.give - Allows users to give each other tokens
mytokens.myt.help - Allows users to view the MYT command's help page
MyTokens Command Permisisons (Admin)
mytokens.admin.give - Allows you to give tokens to users
mytokens.admin.reload - Allows you to reload the plugins config
mytokens.admin.reset - Allows you reset a user to 0 tokens quickly
mytokens.admin.take - Allows you to take tokens from a user
mytokens.admin.enableblocks - Enable or disable blocks
mytokens.admin.nopay - Bypass price in shop
mytokens.admin.userbal - See another users balance
Commands
MYT Commands (Public)
/myt - Opens the shop
/myt ? or help - Opens up MYT Help list
/myt breakable - See what blocks drop what tokens (Also if admin enable or disable blocks)
/MYT Give Username Amount - Allows user to give other users tokens
MyTokens Commands (Admin)
/mytokens - Opens the MyToken Admin help list
/mytokens reload - Reloads the plugin
/mytokens reset username - Allows you to reset a user to 0 tokens
/MyTokens Give Username Amount - Allows you to give a user tokens
/MyTokens Take Username Amount - Allows you to take tokens from a user
/MyTokens bal Username - See another users balance
Stuff In Progress
- Kill throttle to fix the same kill to get tokens - 90%
- Update the ItemBuilder.java to fix a minor flaw in the itemmeta - Finished
- Fix the reflection used to make items glow - Finshed
- Minor updates to the shop code to make shop order to be easier to understand - Finished
- Interface to view what blocks a user can break (/myt blocks) - Finished
- PVE Token drops - Finished*
- PVP Token drops patched (Within the Kill Throttle) - Finished
- Database support (MySQL and SQLite) - Finished
Preview Images
The above image is a preview of the ordering feature
1.7 only feature showing the blocks that are breakable
Wish to contribute?
Fork the code @ My Github
-
I am looking for someone who wishes to help out with coding the plugin :3
-
Servers that use MyTokens!
- NumBrain Network - http://numbrain.net/
- Evolve Gaming - http://evolvegaming.org/
- Cryptic-Games - http://cryptic-games.net/ - play.cryptic-games.net
- If you want your server added drop me a message!
Found a Bug?
If you find a bug please report it under the "Tickets" area on this page as it keeps the comments clean and makes fixing problems easier
@TheToyz
Thanks let me know.
@CombatBorn
interesting I will look into that when I get home. I don't think the perm got added in 1.6 i think i recently only added it to 1.7 I will look into it though and confirm it
@TheToyz
Mind sending me a copy of that?
By the way, every player has access to /myt even if they don't have permission to.
@TheToyz
Okey, no problem :)
@AntiVyKulin
I can make it so it auto imports to the new system on join in 1.7 and send you a build of it when I get home
Hello! I have little question...
I have MyTokens 1.5 and I want update to 1.6 to have tokens it the database, but some players have tokens in Tokens.yml but i don't know their names, becouse it was write in offline UUID code.
Is there some convert method? I don't want lose their tokens. Thanks for answer.
@Msk51197
I'll look into that, the open perm wasn't added till 1.6/1.7 and it's still not approved I can send you a build of 1.7 which fixes a lot and to fast reset all to 0 just use a SQLite browser or just delete the database and reload
@TheToyz
Your plugin doesn't allow me to reset every players tokens to 0. Only one person by typing /tokens reset (player). I cannot do that with all 900 players but I need to.
I have a plugin called svs (Server signs). The plugin allows you to right click a sign and console will run command(s) based on what you put.
I made a group called "Tokens", which has all of your permissions in it. When a player goes to right click the sign, it will add the group "tokens" to the player and manually reset that players tokens.
Outcome > every player that wants to use the shop must first reset their tokens.
Problem > players can use mytokens.myt.open even if they do not have the permission to. I did Ctrl+F to find anything with the word "token" in my pex file, and the only thing it found was the "tokens" group I made.
Read it slowly it's a lot.
@Msk51197
I do not understand what you mean in your comment
Since I cannot reset every players tokens with one command and have to do it individually, I had searched for a way around it. Here is what I did to get around it:
I made a group called "tokens" added the permission nodes: - mytokens.myt.give - mytokens.myt.bal - mytokens.myt.open
Put a server sign at spawn that adds the tokens group to a player, and resets their tokens balance simultaneously. Therefore only people who now have 0 tokens to start out with can use the tokens plugin whenever they want to.
@jaliver
This is fixed in version 1.7, once bukkit approves 1.6 we will upload 1.7
@jaliver
We've been working on it everytime we try and detect if you killed a mob it throws a error maybe ill ask on irc later
@jaliver
What plugin do you use to allow and disallow specific recipes through permissions!?
Can you make the mob drop work so I can finnish my skill tree thing with the token system :D I try to use it as leveling system where you can buy permissions to buy crafting abilities and such :D
@Msk51197
This is patched in 1.7 using the reset command which defaults them back to 0
----1.7 also fixes the mysql bugs and adds new features into the entire thing 1.7 is the biggest update to date
No, I need the the take command because I want to make a token shop (With signs). I got a plugin which let you put commands on signs. So I would just do: /myt take <player> 50 /i DiamondPickaxe 1
@pitmer3107
You can try to delete the players tokens in the config file where that data is stored. Also, you don't have to delete it, you could find the players ID and just literally change the number, save it and reload.
@pitmer3107
1.6 is just awaiting approval. It should be open to the public soon.
I still says 1.5 in the download page. btw thanks for the quick replay
@TheToyz
1.6 is now out!