SuperTokens [1.8-1.18] [API] Tons Of Features, GUI, Unlimited Rewards & More! v1.1

The #1 Tokens Plugin on the Market!
bigtext.png

The #1 Tokens Plugin on the Market!
menu.gif
Super Tokens is a custom currency & shop designed to make users grind to earn stuff like ranks, keys & much more!
supermobcoins.jpg

superboosters.png

superpouches.png

features.png

  • Fully configurable
  • 1.8-1.18.1 Support
  • MySQL Support
  • Unlimited rewards
  • Updating reward shop
  • Changeable drop rates
  • Sounds
  • Easy to use API
  • Placeholders
about.png

SuperTokens is a very simple concept that is easy to understand for everyone. When a player breaks a block, such as a diamond block for example, there is a 1.5% (configurable) chance for the player to obtain a "Token". Players can then spend these tokens in our "/tokens" shop and purchase any item that you set in the "rewards.yml" config!

images.png

special.png

normal.png

balance.png

bookhelp.png

npc.png

help.png


commands.png

These are the current commands featured in this plugin:
Code:
Default Stuff:
 Command: /tokens
 Permission: tokens.use

 Command: /tokens balance <player>
 Permission: tokens.balance

 Command: /tokens withdraw <amount>
 Permission: tokens.withdraw

 Command: /tokens pay <player> <amount>
 Permission: tokens.pay

Admin Stuff:
 Command: /tokens give <player> <amount>
 Permission: tokens.give

 Command: /tokens set <player> <amount>
 Permission: tokens.set

 Command: /tokens take <player> <amount>
 Permission: tokens.take

 Command: /tokens giveitem <player> <amount>
 Permission: tokens.giveitem

 Command: /tokens refresh <category>
 Permission: tokens.refresh

 Command: /tokens reload
 Permission: tokens.reload

setup.png

Regular Installation:
1 - Purchase & Download the plugin!
2 - Place SuperTokens.jar into your servers plugins folder
3 - Restart your server
4 - Edit the config and rewards.yml etc. to your liking
5 - Either restart the server or reload the plugin

files.png

Code:
mysql:
  enabled: false
  host: "localhost"
  port: 3306
  database: "test"
  user: "root"
  password: ""

gui:
  title: "&8&lTOKENS"
  rows: 4
  decoration:
    tokens_item:
      material: "WATCH"
      name: "&b&lTOKEN ITEMS"
      lore:
        - ""
        - "&2&l* &aTime Remaining&f: &7%normaltime%"
        - ""
        - "&7&o(( These items will automatically update to new items... ))"
      durability: 0
      glow: false
      slot: 5
    special_tokens_item:
      material: "WATCH"
      name: "&3&lSPECIAL TOKEN ITEMS"
      lore:
        - ""
        - "&2&l* &aTime Remaining&f: &7%specialtime%"
        - ""
        - "&7&o(( These items will automatically update to new items... ))"
      durability: 0
      glow: false
      slot: 2
    amount_item:
      material: "NETHER_STAR"
      name: "&3You currently have &b%coins% &3tokens"
      lore: []
      durability: 0
      glow: false
      slot: 27
    info_item:
      material: "BOOK"
      name: " "
      lore:
        - "&7&m-------------------------------------"
        - "&bTokens &7can be earned by mining specific blocks."
        - "&bTokens &7will allow you to buy items from the shop menu."
        - "&7Use &b/Tokens Help&7 for more!"
        - " "
        - "&3&lBlocks that will reward you tokens:"
        - "&bStone (0.25% chance)"
        - "&bIron Block (0.5% chance)"
        - "&bGold Block (1% chance)"
        - "&bDiamond Block (1.5% chance)"
        - "&7&m-------------------------------------"
        - " "
      durability: 0
      glow: false
      slot: 35
  filler:
    enabled: true
    item:
      material: "STAINED_GLASS_PANE"
      name: " "
      durability: 15
      glow: false
gui_open:
  sound:
    enabled: true
    type: "ENDERDRAGON_HIT"
token_item:
  material: "NETHER_STAR"
  name: "&b&lToken &7(Rightclick to redeem)"
  lore:
    - "&3You can use these tokens in &b/tokens"
    - "&3to purchase stuff"
format:
  enabled: false
  locale: "US"
token_normal_shop_update_hours: 24
token_special_shop_update_hours: 72
token_receive_message_interval_seconds: 60
tokens_only_from_naturally_spawned_mods: false
received_token_from_block_message_sent: true
close_gui_on_buy: true
stacking_support: false
disabled_worlds:
  - "disabledworld"
coreprotect_prevent_tokens_from_placed_blocks: false

NO_PERMISSION_MESSAGE: "&cYou do not have permission to execute this command"
USAGE_MESSAGE: "&cUsage: %usage%"
PLAYER_NOT_FOUND_MESSAGE: "&cCannot find the player %player%"
PROFILE_NOT_FOUND_MESSAGE: "&cCannot find the profile %profile%"
NOT_NUMERIC_MESSAGE: "&c%arg% should only contain numbers"
GAVE_TOKENS_MESSAGE: "&eYou gave &6%amount% &etokens to &6%player%"
RECEIVED_TOKENS_MESSAGE: "&eYou received &6%amount% &etokens from &6%sender%"
GAVE_TOKEN_ITEMS_MESSAGE: "&eYou gave &6%amount% &etoken items to &6%player%"
RECEIVED_TOKEN_ITEMS_MESSAGE: "&eYou received &6%amount% &etoken items from &6%sender%"
NOT_PLAYER_MESSAGE: "&cYou need to be a player to execute this command"
AMOUNT_CANT_BE_ZERO_MESSAGE: "&cThe withdrawal amount cannot be 0"
NOT_ENOUGH_TOKENS_MESSAGE: "&cYou do not have enough tokens to do that"
WITHDREW_TOKENS_MESSAGE: "&eYou withdrew &6%amount% &etokens"
BOUGHT_REWARD_MESSAGE: "&eYou bought %reward% &efor &6%amount% &etokens"
RECEIVED_TOKEN_FROM_BLOCK_MESSAGE: "&eYou earned &6%amount% &etokens from mining the last minute"
REDEEMED_TOKENS_MESSAGE: "&eYou redeemed &6%amount% &etokens"
TOKEN_NORMAL_SHOP_UPDATED_MESSAGE: "&e(&6&l!&e) The normal token items in &6/tokens &ehas been updated"
TOKEN_SPECIAL_SHOP_UPDATED_MESSAGE: "&e(&6&l!&e) The special token items in &6/tokens &ehas been updated"
TOKENS_OF_PLAYER_MESSAGE: "&6%player% &ehas &6%amount% &etokens"
PLAYER_NOT_ENOUGH_TOKENS: "&c%player% does not have %amount% tokens"
TOOK_TOKENS_MESSAGE: "&eYou took &6%amount% &etokens from &6%player%"
PLAYER_TOOK_TOKENS_MESSAGE: "&6%player% &etook &6%amount% &etokens from your balance"
SET_TOKENS_MESSAGE: "&6%player%&e's tokens balance has been set to &6%amount%"
YOUR_TOKENS_SET_MESSAGE: "&eYour tokens balance has been set to &6%amount% &eby &6%player%"
INVENTORY_FULL_MESSAGE: "&cYour inventory is full"
INVENTORY_GOT_FILLED_MESSAGE: "&eYour inventory got filled so you could only withdraw &6%amount% &etokens"
AMOUNT_INPUT_TOO_LONG_MESSAGE: "&cThat amount input is too long"
CANNOT_PAY_YOURSELF_MESSAGE: "&cYou cannot pay yourself"
TOKENS_HELP_LORE:
  - '&8&m---------------------------'
  - '&3&l(!) Tokens Commands:'
  - '&b/tokens withdraw <amount>'
  - '&b/tokens balance <player>'
  - '&b/tokens pay <player> <amount>'
  - '&8&m---------------------------'
TOKENS_HELP_ADMIN_LORE:
  - '&8&m---------------------------'
  - '&3&l(!) Tokens Commands:'
  - '&b/tokens withdraw <amount>'
  - '&b/tokens balance <player>'
  - '&b/tokens pay <player> <amount>'
  - ''
  - '&3&l(!) Admin Commands:'
  - '&b/tokens give <player> <amount>'
  - '&b/tokens take <player> <amount>'
  - '&b/tokens set <player> <amount>'
  - '&b/tokens giveitem <player> <amount>'
  - '&b/tokens refresh <category>'
  - '&b/tokens reload'
  - '&8&m---------------------------'
Code:
#Placeholders
#%name% = player name
#%uuid% = player uuid

#Normal
#13
Crate:
  name: "&e&lCrate &6&l| &fBasic"
  commands:
    - "crate givekey %name% basic 1"
  price: 50
  material: "TRIPWIRE_HOOK"
  amount: 1
  lore:
    - " "
    - "&3&l* &b&lPRICE: &7%price%⛁"
    - " "
    - "&e[!] &7Use at &e/Warp Crates"
  durability: 0
  glow: false
  special: false
  slot: 13
Crate2:
  name: "&e&lCrate &6&l| &fOther"
  commands:
    - "crate givekey %name% basic 1"
  price: 50
  material: "TRIPWIRE_HOOK"
  amount: 1
  lore:
    - " "
    - "&3&l* &b&lPRICE: &7%price%⛁"
    - " "
    - "&e[!] &7Use at &e/Warp Crates"
  durability: 0
  glow: false
  special: false
  slot: 13
#14
Diamond:
  name: "&b&l64x Diamond Blocks"
  commands:
    - "give %name% diamond_block 64"
  price: 100
  material: "DIAMOND_BLOCK"
  amount: 1
  lore:
    - " "
    - "&3&l* &b&lPRICE: &7%price%⛁"
  durability: 0
  glow: false
  special: false
  slot: 14
#15
Emerald:
  name: "&a&l64x Emerald Blocks"
  commands:
    - "give %name% emerald_block 64"
  price: 150
  material: "EMERALD_BLOCK"
  amount: 1
  lore:
    - " "
    - "&3&l* &b&lPRICE: &7%price%⛁"
  durability: 0
  glow: false
  special: false
  slot: 15
#22
Tag:
  name: '&f&l"&a&lBuyMe&f&l" &7Tag'
  commands:
    - "tag give %name%"
  price: 5
  material: "NAME_TAG"
  amount: 1
  lore:
    - " "
    - "&3&l* &b&lPRICE: &7%price%⛁"
  durability: 0
  glow: false
  special: false
  slot: 22
#23
Spawner:
  name: "&f&lIron Golem Spawner"
  commands:
    - "ss give %name% ig 1"
  price: 50
  material: "MOB_SPAWNER"
  amount: 1
  lore:
    - " "
    - "&3&l* &b&lPRICE: &7%price%⛁"
  durability: 0
  glow: false
  special: false
  slot: 23
#24
Pet:
  name: "&f&l1x &7&lWolf Pet"
  commands:
    - "pet give %name% wolf"
  price: 10
  material: "SKULL_ITEM"
  amount: 1
  lore:
    - " "
    - "&3&l* &b&lPRICE: &7%price%⛁"
  durability: 0
  glow: false
  special: false
  slot: 24

#Special
#11
SuperPickaxe:
  name: "&lThe Super Pickaxe"
  commands:
    - 'give %name% diamond_pickaxe 1 0 { display: { Name: "§b§lThe Super Pickaxe" }, ench: [ { id: 21, lvl: 10000 }, { id: 32, lvl: 10000 } ], Unbreakable: 1 }'
  price: 500
  material: "DIAMOND_PICKAXE"
  amount: 1
  lore:
    - "&7Efficiency enchantment.level.10000"
    - "&7Looting enchantment.level.10000"
    - " "
    - "&3&l* &b&lPRICE: &7%price%⛁"
  durability: 0
  glow: true
  special: true
  slot: 11
#20
Rank:
  name: "&e&lRank &8» &b&lBasic"
  commands:
    - "pex user %name% group set basic"
  price: 1500
  material: "PAPER"
  amount: 1
  lore:
    - " "
    - "&3&l* &b&lPRICE: &7%price%⛁"
  durability: 0
  glow: false
  special: true
  slot: 20
Code:
stone:
  type: "STONE"
  chance: 0.25
iron_block:
  type: "IRON_BLOCK"
  chance: 0.5
gold_block:
  type: "GOLD_BLOCK"
  chance: 1
diamond_block:
 type: "DIAMOND_BLOCK"
 chance: 1.5

api.png

TokensReceiveEvent | Called when a player receives a token from a block
TokensShopEvent | Called when a player purchases something from the token shop
TokensRedeemEvent | Called when a player redeems a token item
Code:
public class TokensAPI {

    private static Tokens instance;

    public TokensAPI(Tokens instance) {
        this.instance = instance;
    }

    /*
    Retrieve the profile manager
    */
    public static ProfileManager getProfileManager() {
        return instance.getProfileManager();
    }

    /*
    Retrieve the reward manager
    */
    public static RewardManager getRewardManager() {
        return instance.getRewardManager();
    }

    /*
    Retrieve the dropchance manager
    */
    public static ChanceManager getChanceManager() {
        return instance.getChanceManager();
    }

    /*
    Retrieve the storage
    */
    public static Storable getStorage() {
        return instance.getStorage();
    }

    /*
    Retrieve the token itemstack
    */
    public static ItemStack getMobCoinItem() {
        return instance.getMobCoinItem();
    }
}

other.png

This plugin also has placeholders for PlaceholderAPI:
  • %supertokens_tokens% | Shows your current amount of tokens
  • %supertokens_normal_time% | Shows the time left until the normal shop refreshes
  • %supertokens_special_time% | Shows the time left until the special shop refreshes
(If you want to use the placeholders on MVdW plugins such as Featherboard then simply use {placeholderapi_supertokens_tokens} etc)
NOTE: Requires the latest version of the PlaceholderAPI plugin!

support.png

Discord Link: https://discord.gg/CkG7ztw
  • bigtext.png
    bigtext.png
    15.1 KB · Views: 1,738
  • menu.gif
    menu.gif
    4.5 MB · Views: 1,752
  • supermobcoins.jpg
    supermobcoins.jpg
    10.4 KB · Views: 1,725
  • superboosters.png
    superboosters.png
    32.9 KB · Views: 1,730
  • superpouches.png
    superpouches.png
    33.9 KB · Views: 1,725
  • features.png
    features.png
    2.1 KB · Views: 1,713
  • about.png
    about.png
    2.1 KB · Views: 1,707
  • images.png
    images.png
    2.1 KB · Views: 1,705
  • special.png
    special.png
    139.3 KB · Views: 1,713
  • normal.png
    normal.png
    160.3 KB · Views: 1,717
  • balance.png
    balance.png
    54 KB · Views: 1,716
  • bookhelp.png
    bookhelp.png
    181.1 KB · Views: 1,713
  • npc.png
    npc.png
    877.4 KB · Views: 1,718
  • help.png
    help.png
    94.8 KB · Views: 1,707
  • commands.png
    commands.png
    2.7 KB · Views: 1,704
  • setup.png
    setup.png
    1.9 KB · Views: 1,687
  • files.png
    files.png
    1.5 KB · Views: 1,697
  • api.png
    api.png
    1.5 KB · Views: 1,691
  • other.png
    other.png
    1.8 KB · Views: 1,690
  • support.png
    support.png
    10.2 KB · Views: 1,685

Latest updates

  1. Added MySQL support and support for versions 1.17.x and 1.18.x

    Added MySQL Support and support for versions 1.17.x and 1.18.x
  2. Added an option for preventing placed blocks from giving tokens

    Added An option for preventing placed blocks from giving tokens NOTE This will require...
  3. Added support for 1.16 | Fixed an issue with the reward shop

    Added: Support for all 1.16.x versions Fixed: An issue with the reward shop
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.