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
@pitmer3107
Currently no but in the 1.6 update it exist the command is going to me /MyTokens take user amount
A users balance can never hit negative it will only take there existing amount if there existing amount < taking
TheToyz, hey, I download the plugin, and I was wondering if there is an option so I could take from a player tokens.
@madtomic
MySQL and SQLite along with working kill throttler are working in 1.6, I am working on adding a interface to see what blocks you have break able, and also looking into how to add fortune to token drops
Looking good! Keep up the good work! I hope the mysql is added soon.
@TheToyz
1.6 is also getting the config more sperated so you have a rules.yml for what they can break to get tokens and how often tokens drop after a kill
@AntiVyKulin
I like those ideas and have been slowly working on them there in 1.5's code just not enabled as of yet but will be in the future along with a MyTokens API
To new version please make:
Thanks! This is good plugin and sorry for my bad english :P
@TheToyz
Looking forward to the update! Will it fix the infinite AFK tokens bug as I explained before?
It would also be pretty cool if you mention my server as one of the servers that use the plugin :) Check us out at Http://Numbrain.Net/
@CRUELKiiD
I believe the issue is something i just patched in 1.5 we are still waiting on bukkit to approve the update
@TheToyz
Unfortunately it did not fix anything awesome plugin but want to get it to work xD
I'll be pretty active with bugs and suggestions here :)
Hope they help
@CombatBorn
Great find! Will patch this along with the Kill throttle and a few other things i have noticed also!
Edit: Just pushed the patch to fix this
HUGE BUG:
If a player is at spawn or any protected area on the server, they are able to mine the protected blocks that have a chance to drop tokens and the blocks keep respawning. therefore these players are getting infinite tokens by just standing still and holding left click.
@CRUELKiiD
try deleting the mytokens config folder and let the plugin remake it, it looks like one of the mytokens files is missing from your mytokens config folder possible tokens.yml which stores there balances
@TheToyz
[MyTokens] Enabling MyTokens v1.4 [22:52:05] [Server thread/ERROR]: Error occurred while enabling MyTokens v1.4 (Is it up to date?) java.lang.NoSuchMethodError: org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(Ljava/io/Reader;)Lorg/bukkit/configuration/file/YamlConfiguration; at com.toyz.MyTokens.Utils.ConfigAccessor.reloadConfig(ConfigAccessor.java:55) [?:?] at com.toyz.MyTokens.Utils.ConfigAccessor.getConfig(ConfigAccessor.java:62) [?:?] at com.toyz.MyTokens.Tools.Item.BuildItems(Item.java:25) [?:?] at com.toyz.MyTokens.MyTokens.onEnable(MyTokens.java:58) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) [craftbukkit-1.7.9-R0.1.jar:git-Bukkit-1.7.2-R0.3-35-gd6ac518-b3061jnks] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [craftbukkit-1.7.9-R0.1.jar:git-Bukkit-1.7.2-R0.3-35-gd6ac518-b3061jnks] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit-1.7.9-R0.1.jar:git-Bukkit-1.7.2-R0.3-35-gd6ac518-b3061jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugin(CraftServer.java:448) [craftbukkit-1.7.9-R0.1.jar:git-Bukkit-1.7.2-R0.3-35-gd6ac518-b3061jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.enablePlugins(CraftServer.java:382) [craftbukkit-1.7.9-R0.1.jar:git-Bukkit-1.7.2-R0.3-35-gd6ac518-b3061jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.n(MinecraftServer.java:352) [craftbukkit-1.7.9-R0.1.jar:git-Bukkit-1.7.2-R0.3-35-gd6ac518-b3061jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.g(MinecraftServer.java:326) [craftbukkit-1.7.9-R0.1.jar:git-Bukkit-1.7.2-R0.3-35-gd6ac518-b3061jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.a(MinecraftServer.java:282) [craftbukkit-1.7.9-R0.1.jar:git-Bukkit-1.7.2-R0.3-35-gd6ac518-b3061jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:182) [craftbukkit-1.7.9-R0.1.jar:git-Bukkit-1.7.2-R0.3-35-gd6ac518-b3061jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:436) [craftbukkit-1.7.9-R0.1.jar:git-Bukkit-1.7.2-R0.3-35-gd6ac518-b3061jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit-1.7.9-R0.1.jar:git-Bukkit-1.7.2-R0.3-35-gd6ac518-b3061jnks] [22:52:05]
you mean this?
@CRUELKiiD
Will look into it right now
Edit: Just tested on 1.7.9: R0.2 without any issues at all can you show me the traceback
Got problems with CB-1.7.9-R0.2 not working and asking if the plugin is up to date or not? any solutions or just wait for a new update
@cadox8
I don't think it will work like that unless 1.7.4 supports UUID I refuses to work with Usernames cause UUID is the new thing coming out cause of name changes
@CombatBorn
Yes this is already coded in under the rate config section you can change the rate based off a 1.0 base
1.0 = 100% 0.9 = 90%
So on and so on
@Lilmacaroni
I need the plugin in 1.7.4 because I manage a server in this version and I put the plugin and It not work