
THIS PROJECT IS NO LONGER SUPPORTED
Description
Command Tokens is a plugin which allows you to create virtual tokens
that your players can use! Tokens are individually customizable by you
to run commands to give players items, ranks or whatever you choose!
Features
- easy to use! simple configuration!
- create multiple tokens!
- have different tokens for different groups!
- tokens run commands in console users normally couldn't!
- you set how much time online players must spend to earn each token!
- you set the max amount of tokens a player can have at one time!
- custom token names!
- NEW charge currency to use a token!
- NEW run multiple commands with one token! a fresh new twist on kits?
- give items, add ranks, or whatever u can imagine!
Dependencies
- now requires vault to be installed as well!!
- why vault? the beauty that is vault supports compatibility for all major
- economy and permissions plugins!
- get vault here!
- also a list of compatible economy and permissions plugins is on that page!!!
How to install
- download commandTokens.jar and place in plugins folder
- download vault from here and place in plugins folder
- restart server and your ready to make some tokens!
Setup
saveInterval in config.yml determines how often (in minutes) commandToken
will check players time online and award tokens.
useEconomy in config.yml defualts to true. set this to false if you dont have
or use any economy plugins.
example command in tokens.yml:
Sample:
command: "give %player 35 2 2"
minutes: 6
oneUseOnly: true
cost: 0
maxQuantity: 2
example token with multiple commands in tokens.yml:
Sample:
command: "give %player 35 2 1 /
give %player 35 2 2 /
give %player 35 2 3 /
give %player 35 2 4 /
give %player 35 2 5"
minutes: 3
oneUseOnly: false
cost: 125
maxQuantity: 2
Sample: name of token
command: %player argument will be replaced with the player using the token
minutes: time it takes to earn a token (in minutes, duh)
oneUseOnly: sets token as a 'one time only' token. its only earned once and can only be used once
cost: how much money it costs to use a token
maxQuantity: the maximum amount of these tokens a player can have
Commands
- /tokens help
displays commands
- /tokens check
displays list of available tokens
- /tokens use <name of token>
use a token!
Permissions
note that version 1.0 didnt use perms but since 1.2 it does!!!
- to give a user/group access to all tokens just use: commandTokens.*
- to give a user/group access to a specific token use: commandTokens.<nameOfToken>
Changelog
- Version 1.4
- added support for 'one time only' tokens
- improved chat msg for tokens earned and check command
- Version 1.3
- added support for multiple commands with one token
- Version 1.2
- added permissions
- added economy support
- better messages in chat
- Version 1.1
- fixed a bug with data from players.yml getting reset
- Version 1.0
- added tracker for time online
TODO
- add command for /tokens set <player> <token> <amount>
Conflicts/Known Limitations/Bugs
TragicSurvival
- looking for a friendly community?
- just tryin to find me for advice on a plugin?
- you can catch me here playing sometimes
- website: tragicsurvival.forumotion.com