ItemsForXP

Buy items with your XP (experience) via signs. Simple!


Summary


"It's all about special signs!"
Many of us love the experience point system. Some of us would also love to have another way to gain some of those hard to find/craft items without cheapening the gameplay. Put these two ideas together and you get ItemsForXP! It's inspired by the instant gratification of plugins like SignShops. ItemsForXP allows you to setup signs with a simple, specific layout and to spend your hard earned XP on much needed materials and items. Permissions is normally required to place one of these special signs and also to use the sign. However, you can disable Permissions in the config file.

Xtra Features

Now, you can have even more goodness with the new Xtra Features add-on. Players can sell their items to signs and get XP in return. In a later version, players will be able to set up their own signs and sell items to each other. You'll have a full economy based on experience points! All the information you need about this add-on (configuration, permissions, etc.) is under the appropriate sections on this page in sub-sections titled "Xtra Features." For a longer explanation of what the Xtra Features add-on is and why we have one, read the "What is Xtra Features?" page.





Features


  • All you have to do is place a sign to get started!
  • Supports permissions via SuperPerms (built into bukkit) or PEX. (can be disabled in config.yml)
  • Handy /checkxp and /level commands.
  • Console logs (with coordinates) whenever a user tries to do something with a special sign.
  • Fully customizable (translatable) messages in the game and console!

Xtra Features

  • "Pawn" signs that allow players to pawn off their items and get xp.





Commands


  • /checkxp - Find out exactly how much XP you have
  • /level - See what your level really is. There are specific occasions when minecraft doesn't update the number in the HUD.
  • /levelup - Debug mode only. (See Configuration below.) Gives you the xp needed to level up.

Xtra Features

None.





Placing Special Signs


Here is an example sign:

Quote:

[ItemsForXP] - Case does not matter (ie. [itemsforxp] works just fine).
42x1 - Item ID times Quantity (Spaces are allowed now!)
18 - Cost (Experience points) You may place xp on this line as well.
18xp for iron - You can put whatever you want on this line

  • You may also use [Buy With XP] (or what ever you configured) instead of [ItemsForXP].
  • That is an x on the second line, but you may use an * instead. You can find Item IDs here. You may use data/damage (like for colored wool) by doing something like 35:15x5 (five black wool).
  • The game will let you know if a sign is invalid when you try to use it.
  • I often like to place the item (a block of iron in this example) underneath the sign for a quick and easy visual reference. Of course, this is not required.

Xtra Features

The layout is the exactly same, except the top line must be [Sell for XP] instead. This can also be modified (in the add-on's config file).





Configuration


No configuration is necessary to use this plugin. However, you may customize the plugin's operation. A new config.yml is automatically generated if the plugin cannot find it (like when you run it for the first time). Click here to see the default config.yml. If you would like a new configuration option, just post below and tell me.

There are explanations in the file for each option, but here's an overview:

Debug
This will put all kinds of useful information in the console. This can help me determine why the plugin might not be working correctly for you. Just set debug: true, save the file, and reload your plugins via the /reload command. Then me everything it spits out.

Use Item
Players are required to hold a certain item when they punch a sign. This keeps the players from accidentally buying stuff. By default, they must be holding paper, but you can change that here. Just set this option to the ID of the material you want (item data is not supported). You can find ID numbers here.

Sign Title
The signTitle option lets you specify a different tag to put on Line 1 of your signs. You could remove the braces ("[" and "]"), replace them with dashes, or change the text from [Buy With XP] to [Crap Shack]. Whatever you want to do. If you change this, [Buy With XP] will be unavailable until you change it back. [ItemsForXP] is built into the plugin, so it will always be available.

Permissions
Normally, this plugin requires permissions. Now you can tell it shut up and deal without it …in a nice kind of way. You can disable permission for either placing signs, buying from them, or both. You will find these options indented under permissions:.

Messages
There are a lot of config options in this section. I will not explain all of them here. They allow you to change the text that the plugin displays. There are three subsections: Global, Console, and Game. Console options are text that appears in the console. Game options are text that appear in the chat in-game. Global options are used in both the console and the game. Finding the option for the text you want to replace simply requires some searching (with your eyes or CTRL+F). Descriptions and default values are provided in comments in the config.yml file. They are very helpful.

Xtra Features

View the full config here.

Sign Title (Pawn)
Similar to "sign title" above, this is the first line on pawn signs. These are signs that allow users to sell their items and get xp in return.

Messages
Most messages are pulled from the main plugin's config file, but there are some messages that are exclusive to the add-on. These messages can be translated/modified here.





Permissions


  • ifx.sign.place - Users who can place special signs
  • ifx.sign.use - Users who can buy from special signs

Xtra Features

  • ifx.place.infinite.pawn - Users who can place "pawn" signs (signs which allow users to sell their items and get xp)
  • ifx.use.infinite.pawn - Users who can sell their items to a sign





Version Stuff:


Plans

  • Add commands as an alternative to laying out the sign specifically - (config option?)
  • Come up with a way to sell actual items (instead of infinite sales out of thin air) [Xtra Features]
  • Investigate the implications of supporting economy plugins [Xtra Features]
  • Possibly add configuration options to customize logging? Let me know!


Latest Release

v 3.0 - Xtra Features

  • Restructured code to make way for new features
  • New "Xtra Features" add-on! That's right, an add-on for the plugin (for the server mod for minecraft). :D
    • Added ability to sell items to signs in exchange for xp [Xtra Features]
      • New config option for this
      • A few new translatable messages too




Like my work? Click the link, buy me a drink! :D


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit