Skip to content

NexiaDevelopers/XPShop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft plugin that adds an XPShop to the game where players can purchase items with XP.

In the XPShop you can put any item, custom or not on any level price. The items in the XPShop can also be configured to be purchasable with certain permissions additionally to the level price.

Uses NexiaAPI, ACF and SpiGUI.

Developed by HeadMonitor for the Nexia Network.

Just place the .jar file in your plugins folder and the plugin should work! Easy as that! After that you can configure the the plugin from the config.yml to your needs.

  • Every Section in every File in the XPShopItems/ folder represents an item for sale. Each file's format should match that of the ExampleItems.yml file. There can be as many Sections in each File. We recommend grouping the items in each file by type.
  • /xpshop Opens the XPShop GUI.
  • /xpshop buy <item> Purchases a specific item from the XPShop.
  • net.nexia.xpshop.buy
  • net.nexia.xpshop.<item>
config.yml
     # MAIN SETTINGS
     CreateExampleFiles: true    # Set whether the example files should be recreated if deleted. (WARNING: These get replaced each time the server restarts.)
     PermissionBasedShop: false  # Set whether the shop should be permission based. Each item will require a permission in the syntax `net.nexia.xpshop.item`

     #   __  ______  ____  _
     #   \ \/ /  _ \/ ___|| |__   ___  _ __
     #    \  /| |_) \___ \| '_ \ / _ \| '_ \
     #    /  \|  __/ ___) | | | | (_) | |_) |
     #   /_/\_\_|   |____/|_| |_|\___/| .__/
     #                                |_|
ExampleItems.yml
    NexiaSword:
        Item:
            Type: 'DIAMOND_SWORD'
            DisplayName: '&dNexia Sword'
            Lore:
                - '&aA sword that can cut'
                - '&abetween universes.'
            Enchants:
                - UNBREAKING: 5
                - SHARPNESS: 5
                - FIRE_ASPECT: 1
            ItemFlags:
                - HIDE_ENCHANTS
                - HIDE_ATTRIBUTES
        Cost: 60

    Stick:
        Item:
            Type: 'STICK'
            DisplayName: '&dStick'
            Lore:
                - '&aJust a plain stick.'
        Cost: 1

    HeadMonitorsHead:
        Item:
            Type: 'PLAYER_HEAD'
            DisplayName: "&dHeadMonitor's Head"
            Lore:
                - '&aHeadMonitor is the best'
                - '&aplugin developer!'
                - '&aGet him a cookie!'
            Player: 'HeadMonitor'
        Cost: 50

    TexturedHead:
      Item:
        Type: 'PLAYER_HEAD'
        DisplayName: '&dTextured Head'
        Lore:
          - '&aThis is a Head from'
          - '&aa Custom Texture.'
        Texture: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWU4OWI2YzRhYWMxNTZhMDQ4NmQ0OGFiN2JkN2RmMzA0NTg2YmQwYjllM2YxNTA5NTIxZWIxYmYzZmY2YmJkIn19fQ=='
      Cost: 25

You can get Support, Request a Feature or Report a Bug through the Discussion tab or through our Discord. We will do our best to help you out!

  • Q: I don't exactly understand how to set the plugin up. Can you provide help?
    A: Yes! You can leave a comment on the Discussion tab, or join our Discord server.

  • Q: I have an issue, found a bug or want to request a feature.
    A: You can leave a comment on the Discussion tab, or join our Discord server.

  • Q: If I request a feature what are the chances of it being accepted? How long will it take to implement?
    A: The chances are very high! We want the Plugin to be as much useful to you as possible. As for the time to implement this solely depends on the complexity of the feature, but it shouldn't take more than a few days!