How to have a hold able exp orb

Discussion in 'Plugin Development' started by srspore, Jul 24, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    srspore

    So, I want to make an economy plugin, but instead of using number in the system I want to use "coins"... but I would need an item to be the coin that isn't used for anything else. Maybe an exp orb? Now I was thinking maybe renaming an object to like "coin" and then re-texturing it to look like an exp orb.... however I have no idea how to re-texture an item... Is it possible to re-texture an item... and if not any other ideas about how to get a "coin" in minecraft?
     
  2. Offline

    Nic2555

    By XP orb you mean the entity ? You cannot hold an entity. You should try something else. And for your retexture problem, try adding a default resource pack to you server. Of course player will have choice to toggle it or not, but at least you can change the texture of the item for those who chooses to changed to your texture pack. Once you have a valid item to be "changed" in coin, you can easily give it a custom name, but still the amount of the stack will stay 64. So it will a pain to own 1000 coin, or 6 stack of 64 coins.
     
  3. Offline

    srspore

    Anyone know how to make items stack to infinity?
     
  4. Offline

    Nic2555

    What I suggest is having some kind of coin purse, where you could change the name of the item to the amount of coins the player has. Of course you will have to prevent it from being edit in the anvil.
     
  5. Offline

    srspore

    @Nic2555 Woo... yeah that could work...
     
  6. Offline

    danieltabrizian

    I recommend using vault as api(ik its hard to use for beginners) but it allows other people to make use of the economy system too!
     
  7. Offline

    srspore

    @danieltabrizian vault as api? I have never head of that... could you link me to a tutorial or something that describes it a little bit more? I'm interested
     
  8. Offline

    ninjaboy323

    @srspore It is definantly possible to change the stack size of an item. Search up a plugin, decompile it and look into the code a little more. As for the item that looks like a coin I know the PERFECT item for you...

    A sunflower. Just look at it in your inventory.
     
    Shortninja66 likes this.
Thread Status:
Not open for further replies.

Share This Page