MySQL eco without vault with chest gui

Discussion in 'Archived: Plugin Requests' started by 15987632, Sep 6, 2014.

  1. Offline

    15987632

    Plugin category: mechanics

    Suggested name: voting eco

    What I want: An eco plugin that handles all database based info via MySQL. This plugin would not hook into vault. The only way to get money is via admin commands. When a player enters a command it opens a gui that when a player clicks on an item it runs a command from console for a price via this eco. All the messages should be configurable in the config same with the gui and the mysql info. The gui part of the config should look like this ish doesn't have to be the exact same but function similar

    Code:
    ######################
    #+                  +#
    #  MENU SETTINGS    #
    #+                  +#
    ######################
     
     
    menu-settings:
      name: '&1Sword Enchants'
      rows: 2
     
     
    ######################
    #+                  +#
    #      ITEMS        #
    #+                  +#
    ######################
     
     
    Sharp1:
      COMMAND: 'console:give %player% minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:16,lvl:1}]}'
      NAME: '&aSharpness 1'
      LORE:
        - '&bCost'
        - '&e5 Points'
        - ''
        - '&bContains'
        - '&5  - Sharpness 1 enchantment book'
      ID: 403
      POSITION-X: 1
      POSITION-Y: 1
      PRICE: 5
    Sharp2:
      COMMAND: 'console:give %player% minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:16,lvl:2}]}'
      NAME: '&aSharpness 2'
      LORE:
        - '&bCost'
        - '&e11 Points'
        - ''
        - '&bContains'
        - '&5  - Sharpness 2 enchantment book'
      ID: 403
      POSITION-X: 2
      POSITION-Y: 1
      PRICE: 11
    Sharp3:
      COMMAND: 'console:give %player% minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:16,lvl:3}]}'
      NAME: '&aSharpness 3'
      LORE:
        - '&bCost'
        - '&e25 Points'
        - ''
        - '&bContains'
        - '&5  - Sharpness 3 enchantment book'
      ID: 403
      POSITION-X: 3
      POSITION-Y: 1
      PRICE: 25
    Sharp4:
      COMMAND: 'console:give %player% minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:16,lvl:4}]}'
      NAME: '&aSharpness 4'
      LORE:
        - '&bCost'
        - '&e60 Points'
        - ''
        - '&bContains'
        - '&5  - Sharpness 4 enchantment book'
      ID: 403
      POSITION-X: 4
      POSITION-Y: 1
      PRICE: 60
    Sharp5:
      COMMAND: 'console:give %player% minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:16,lvl:5}]}'
      NAME: '&aSharpness 5'
      LORE:
        - '&bCost'
        - '&e100 Points'
        - ''
        - '&bContains'
        - '&5  - Sharpness 5 enchantment book'
      ID: 403
      POSITION-X: 5
      POSITION-Y: 1
      PRICE: 100
    FAspect1:
      COMMAND: 'console:give %player% minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:20,lvl:1}]}'
      NAME: '&aFire Aspect 1'
      LORE:
        - '&bCost'
        - '&e20 Points'
        - ''
        - '&bContains'
        - '&5  - Fire Aspect 1 enchantment book'
      ID: 403
      POSITION-X: 6
      POSITION-Y: 1
      PRICE: 20
    FAspect2:
      COMMAND: 'console:give %player% minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:20,lvl:2}]}'
      NAME: '&aFire Aspect 2'
      LORE:
        - '&bCost'
        - '&e50 Points'
        - ''
        - '&bContains'
        - '&5  - Fire Aspect 2 enchantment book'
      ID: 403
      POSITION-X: 7
      POSITION-Y: 1
      PRICE: 50
    Knockback1:
      COMMAND: 'console:give %player% minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:19,lvl:1}]}'
      NAME: '&aKnockback 1'
      LORE:
        - '&bCost'
        - '&e10 Points'
        - ''
        - '&bContains'
        - '&5  - Knockback 1 enchantment book'
      ID: 403
      POSITION-X: 8
      POSITION-Y: 1
      PRICE: 10
    Knockback2:
      COMMAND: 'console:give %player% minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:19,lvl:2}]}'
      NAME: '&aKnockback 2'
      LORE:
        - '&bCost'
        - '&e25 Points'
        - ''
        - '&bContains'
        - '&5  - Knockback 2 enchantment book'
      ID: 403
      POSITION-X: 9
      POSITION-Y: 1
      PRICE: 25
    Unbreaking1:
      COMMAND: 'console:give %player% minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:34,lvl:1}]}'
      NAME: '&aUnbreaking 1'
      LORE:
        - '&bCost'
        - '&e10 Points'
        - ''
        - '&bContains'
        - '&5  - Unbreaking 1 enchant book'
      ID: 403
      POSITION-X: 1
      POSITION-Y: 2
      PRICE: 10
    Unbreaking2:
      COMMAND: 'console:give %player% minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:34,lvl:2}]}'
      NAME: '&aUnbreaking 2'
      LORE:
        - '&bCost'
        - '&e25 Points'
        - ''
        - '&bContains'
        - '&5  - Unbreaking 2 enchant book'
      ID: 403
      POSITION-X: 2
      POSITION-Y: 2
      PRICE: 25
    Unbreaking3:
      COMMAND: 'console:give %player% minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:34,lvl:3}]}'
      NAME: '&aUnbreaking 3'
      LORE:
        - '&bCost'
        - '&e60 Points'
        - ''
        - '&bContains'
        - '&5  - Unbreaking 3 enchant book'
      ID: 403
      POSITION-X: 3
      POSITION-Y: 2
      PRICE: 60
    regular1:
      COMMAND: 'console:give %player% book 1'
      NAME: '&a1 Book'
      LORE:
        - '&bCost'
        - '&e1 Points'
        - ''
        - '&bContains'
        - '&5  - 1 regular book'
      ID: 340
      POSITION-X: 7
      POSITION-Y: 2
      PRICE: 1
    regular16:
      COMMAND: 'console:give %player% book 16'
      NAME: '&a16 books'
      LORE:
        - '&bCost'
        - '&e16 Points'
        - ''
        - '&bContains'
        - '&5  - 16 regular books'
      ID: 340
      POSITION-X: 8
      POSITION-Y: 2
      PRICE: 16
    regular64:
      COMMAND: 'console:give %player% book 64'
      NAME: '&a64 books'
      LORE:
        - '&bCost'
        - '&e64 Points'
        - ''
        - '&bContains'
        - '&5  - 64 regular books'
      ID: 340
      POSITION-X: 9
      POSITION-Y: 2
      PRICE: 16

    Ideas for commands:
    /voted (opens the gui)
    /voted set <player> <int>
    /voted give <player> <int>
    /voted take <player> <int>
    /voted amount <player(optional)>

    Ideas for permissions:
    voted.use (/voted)
    voted.set
    voted.give
    voted.take
    voted.amount
    voted.amount.others

    When I'd like it by: Yesterday.
     
  2. Offline

    timtower Administrator Administrator Moderator

    15987632 Something like tokenshop without the vote stuff?
     
  3. Offline

    15987632

    timtower does tokenshop use vault? and does it have mysql support?

    EDIT i saw that vault is optional so if it has mysql support im fine with it

    EDIT number 2 no it doesnt have mysql support as far as i can tell :/ so i cant use it unfortunatly
     
  4. Offline

    timtower Administrator Administrator Moderator

    15987632 But it is the same idea right?
     
  5. Offline

    15987632

    timtower yes i would request a feature but the author hasn't been on since July and hasn't updated it since January and it wouldn't support uuids if i used it how it is
     
  6. Offline

    15987632

  7. Offline

    15987632

  8. Offline

    15987632

  9. Offline

    15987632

  10. Offline

    15987632

  11. Offline

    15987632

  12. Offline

    Ps300300

    XD. Sorry if u thought someone offered to do it when you saw someone had replied to your thread but then you saw it was this pointless message :/
     

Share This Page