EpicSMP 1.5

A plugin that adds a command purchasing GUI and a /withdraw command. Like H2M.

  1. JustBru00
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.16
    Source Code:
    https://github.com/JustBru00/EpicSMP
    Contributors:
    ComputerDude (Requested this plugin)
    EpicSMP
    This is a plugin that adds:
    /buycommand - a command that opens a GUI for you to purchase things in.
    /withdraw - a command that withdraws money from your balance. (Like H2M)
    /epicsmp <help,license,reload> - A command for help, viewing license information, or reloading the configuration file.

    Permissions:
    /buycommand - epicsmp.buycommand
    /withdraw - epicsmp.withdraw
    /epicsmp - epicsmp.epicsmp


    Requirements:
    Vault version 1.5.x
    A economy plugin. (That hooks into vault.) (Like Essentials)
    A permissions plugin (That hooks into vault.) (Like Essentials Group Manager)


    The config should help explain a few things:
    Code (Text):

    #Configuration file generated by EpicSMP 1.5+

    #DO NOT CHANGE THIS OPTION THE PLUGIN WILL BREAK.
    config version: 3

    #Messages used throughout the plugin.
    plugin messages:
        #Prefix used before ALL messages.
        prefix: '&8[&bEpic&fSMP&8] &f'
        #No permission message.
        no permission: '&cSorry you don''t have permission.'

    #Commands Section.  
    commands:      
        #Command /withdraw
        withdraw:
            #Permission for the command.
            permission: 'epicsmp.withdraw'
            #Use a number message.
            use a number: '&cPlease put a number.'
            #Too many or too little args message.
            too many or too little args: '&cToo Many or Too Little Args. Please only type one number after /withdraw. Eg: /withdraw 50'
            #Only players can use this command message.
            sender not player: '&4Only players can use this command.'
           
        #Command /epicsmp
        epicsmp:
            #Permission for the command.
            permission: 'epicsmp.epicsmp'
            #Help message.
            help: '&fPlease contact your server admin for help.'
            #License message.
            license: 'Find license info at: http://tinyurl.com/nqme93d'
            #Reload message.
            reload: '&aReloaded configuration file successfully.'
            #If the player doesn't provide help or version after /epicsmp      
            not enough args: '&cPlease put "help" or "license" after /epicsmp.'
           
        #Command /buycommand  
        buycommand:
            #Permission for the command.
            permission: 'epicsmp.buycommand'
            #If sender is not equal to player.
            not correct sender: '&cOnly players can use this command.'
            #Different Commands that can be bought.
            commands:
                one:
                    #Name of the item.
                    name: '&b/tpa'
                    #Price of command (One Time Purchase)
                    price: 2000
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'ENDER_PEARL'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.tpa              
                two:
                    #Name of the item.
                    name: '&b/tp'
                    #Price of command (One Time Purchase)
                    price: 3500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'ENDER_PEARL'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.tp
                     - essentials.tp.others
                     - essentials.teleport.position
                     - essentials.tppos
                three:
                    #Name of the item.
                    name: '&b/tpahere'
                    #Price of command (One Time Purchase)
                    price: 2100
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'ENDER_PEARL'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.tpahere
                four:
                    #Name of the item.
                    name: '&b/tpall'
                    #Price of command (One Time Purchase)
                    price: 4500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'ENDER_PEARL'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.tpall
                five:
                    #Name of the item.
                    name: '&b/msg'
                    #Price of command (One Time Purchase)
                    price: 500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'BOOK'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.msg
                six:
                    #Name of the item.
                    name: '&b/fix'
                    #Price of command (One Time Purchase)
                    price: 7500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'ANVIL'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.repair
                     - essentials.repair.all
                     - essentials.repair.armor
                     - essentials.repair.enchanted
                seven:
                    #Name of the item.
                    name: '&b/back'
                    #Price of command (One Time Purchase)
                    price: 7000
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'BARRIER'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.back
                     - essentials.back.ondeath
                eight:
                    #Name of the item.
                    name: '&b/broadcast'
                    #Price of command (One Time Purchase)
                    price: 1500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'COMMAND_BLOCK_MINECART'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.broadcast    
                nine:
                    #Name of the item.
                    name: '&b/clearinventory'
                    #Price of command (One Time Purchase)
                    price: 1500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'LAVA_BUCKET'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.clearinventory
                ten:
                    #Name of the item.
                    name: '&b/craft'
                    #Price of command (One Time Purchase)
                    price: 5000
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'CRAFTING_TABLE'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.workbench    
                eleven:
                    #Name of the item.
                    name: '&b/time'
                    #Price of command (One Time Purchase)
                    price: 6000
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'CLOCK'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.time
                     - essentials.time.set
                twelve:
                    #Name of the item.
                    name: '&b/feed'
                    #Price of command (One Time Purchase)
                    price: 7500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'COOKED_BEEF'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.feed    
                thirteen:
                    #Name of the item.
                    name: '&b/enderchest'
                    #Price of command (One Time Purchase)
                    price: 2000
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'ENDER_CHEST'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.enderchest
                fourteen:
                    #Name of the item.
                    name: '&b/fly'
                    #Price of command (One Time Purchase)
                    price: 8000
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'FEATHER'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.fly    
                fifteen:
                    #Name of the item.
                    name: '&b/hat'
                    #Price of command (One Time Purchase)
                    price: 2000
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'GLASS'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.hat                    
                sixteen:
                    #Name of the item.
                    name: '&b/invsee'
                    #Price of command (One Time Purchase)
                    price: 4000
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'CHEST'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.invsee
                seventeen:
                    #Name of the item.
                    name: '&b/heal'
                    #Price of command (One Time Purchase)
                    price: 6500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'GOLDEN_APPLE'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.heal                    
                eighteen:
                    #Name of the item.
                    name: '&b/lightning'
                    #Price of command (One Time Purchase)
                    price: 4500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'TORCH'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - essentials.lightning
                nineteen:
                    #Name of the item.
                    name: 'null'
                    #Price of command (One Time Purchase)
                    price: 500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'PAPER'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - none
                twenty:
                    #Name of the item.
                    name: 'null'
                    #Price of command (One Time Purchase)
                    price: 500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'PAPER'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - none
                twentyone:
                    #Name of the item.
                    name: 'null'
                    #Price of command (One Time Purchase)
                    price: 500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'PAPER'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - none
                twentytwo:
                    #Name of the item.
                    name: 'null'
                    #Price of command (One Time Purchase)
                    price: 500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'PAPER'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - none  
                twentythree:
                    #Name of the item.
                    name: 'null'
                    #Price of command (One Time Purchase)
                    price: 500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'PAPER'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - none
                twentyfour:
                    #Name of the item.
                    name: 'null'
                    #Price of command (One Time Purchase)
                    price: 500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'PAPER'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - none
                twentyfive:
                    #Name of the item.
                    name: 'null'
                    #Price of command (One Time Purchase)
                    price: 500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'PAPER'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - none
                twentysix:
                    #Name of the item.
                    name: 'null'
                    #Price of command (One Time Purchase)
                    price: 500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'PAPER'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - none
                twentyseven:
                    #Name of the item.
                    name: 'null'
                    #Price of command (One Time Purchase)
                    price: 500
                    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
                    material: 'PAPER'
                    # A List of permissions that will be added when the item is bought.
                    permissions:
                     - none                  
     

    Each of the 27 commands you can buy are configured like this:
    #The item number
    twentyseven:
    #Name of the item. If you set this to null it will not be used.
    name: 'null'
    #Price of command (One Time Purchase)
    price: 500
    #Material of item. (MUST be a valid Bukkit Material. If it it not a valid Material it will default to PAPER)
    material: 'PAPER'
    # A List of permissions that will be added when the item is bought.
    permissions:
    - none


    The GUI will automatically NOT add items the player already has permission for.

    Here are some screenshots:
    [​IMG]
    [​IMG]
    More Photos here: http://imgur.com/a/8gmBU

    Want to me to add something?
    Go to https://github.com/JustBru00/EpicSMP/issues
    Then add a new issue with a title similar to this:
    Feature Request: Your idea title here.

    Find a bug? Report a issue here: https://github.com/JustBru00/EpicSMP/issues
    Want to see the source code? Go here: https://github.com/JustBru00/EpicSMP

    If you would like to buy me a pizza you can send money on PayPal here.

    Do not ask for help in the review section please. Ask in the discussion thread.
    Bl3ndXDXD and Computerdude3 like this.

Recent Reviews

  1. Bloodlex
    Bloodlex
    2/5,
    Version: 1.4
    That's the exact plugin I need! But unfortunately it throws errors like that one:

    05.07 18:22:33 [Server] ERROR Could not pass event PlayerInteractEvent to EpicSMP v1.4
    05.07 18:22:33 [Server] INFO java.lang.NullPointerException: null
    05.07 18:22:33 [Server] INFO at com.gmail.justbru00.epic.smp.Listeners.Listener.onPlayerInteract(Listener.java:64) ~[?:?]
    05.07 18:22:33 [Server] INFO at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor214.execute(Unknown Source) ~[?:?]
    05.07 18:22:33 [Server] INFO at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:471) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:438) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:434) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1462) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at net.minecraft.server.v1_15_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:28) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at net.minecraft.server.v1_15_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:5) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:1105) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:1098) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1059) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:974) ~[patched_1.15.2.jar:git-Paper-375]
    05.07 18:22:33 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]
    1. JustBru00
      Author's Response
  2. Computerdude3
    Computerdude3
    4/5,
    Version: 1.3.1
    Nice plugin for an SMP. Though a config feature to remove /buycommand would be nice. And also a config option to change the command. Ex. /withdraw could be changed to /moneynote.
    1. JustBru00
      Author's Response
      I can add those in a a future update. Thanks for the review.