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 placexp
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 signsifx.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
- 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
- Added ability to sell items to signs in exchange for xp [Xtra Features]
@Arton123 Sorry, I didn't see your post. I don't know if this will work with that version. I haven't worked on this in a while.
@LegozandParatroopaz That's fair. I don't think I will be able to work on this for a while, and I'm sure someone has caught up to me by now.
You should just go get MagicSigns.
This is one of its many features and it's updated for the latest craftbukkit.
I'm not saying this is bad,
Just out of date. :P
Does this work for 1.4.7?
@deleted_8040988
Yep. That's a mess. Mind telling me what caused that? I can't fix it unless I know what you did to cause it.
Please reply on this ticket.
Any up and coming programmers want some stuff to hone your skills on? Send me a PM.
Hmm. I see I have some unfinished business here. Also, my aforementioned ticket is not showing up. Sorry for the silence, guys. Life happens, you know. Please create tickets for stuff you'd like me to work on. I've got three plugins on BukkitDev and one on my computer, still under construction. So I've got a lot on my plate right there (let's not even talk about work and school). I'm not going to be able to stay on top of everything without that ticket system.
@funk1983
I noticed that and created a ticket. I'm working on it. The rest of the plugin/add-on works. Later today, I'm going to see if you can copy/paste and manually create the config from the online copy. You're welcome to experiment until then if you want to. I'd love to hear what you figure out.
I'll will be working on this later today.
@musicin3d
Don't seem to be getting a config generated with xtra.
Good news guys!
I have finished the next release. Version 3.0 will have the new "Xtra Features" add-on as well as the much anticipated ability to sell your items to the sign. I just need to test it a little and finish the documentation. Expect to have it in a few days! :)
Ok from now on, there will be two flavors of this plugin. I will be maintaining both on this page since they are the same project. We will have "Lite" and "Full." The Lite flavor will be the plugin as it is now with updates, fixes, and minor additions. The idea is to keep it true to my original vision of a simple, lightweight plugin meant give items for xp. The Full flavor will have all the awesome craziness that sounds cool but doesn't necessarily fit the minimalist idea of the original plugin.Scratch that. No "flavors." That can get too complicated. I'm just going to have the basic plugin and an "Extra Features" .jar file. I'll zip them together when I upload, and you can decide if you want to use the extra features or not. If you do, just put that file in the plugins folder with the plugin. If you don't, then just trash it.
I'm looking forward to this as I build the system to give players xp in exchange for their items. BTW: I'm not sure if I'm going to put this feature in the
Lite flavorExtra Features file. What do you think?BTW: I love this ticket system. Check it out by clicking on the "Tickets" tab.
It would be really awesome if you guys created tickets for features you'd like to see. Hint hint. And then you should comment on the ideas that you like. That way I know what to work on first. :D
IMPORTANT
An issue has cropped up on my server. The plugin does not seem to be giving people the items that they're buying. I'm looking into it right now. I just thought I'd give you guys the heads up.
Thanks for your interest and support. I really means a lot.
Update:
I have found the cause of the issue not to be my plugin. Check the ticket for the most up to date information.
I can't wait until another version is released!
@sheepwool7
Two others have mentioned that same thing. It's on the to do list. See plans.
I'll have a think on a good way to implement Spout support. On another note, can you make it so you can give an item for XP as well? So sort of the reverse idea of the plugin haha.
@sheepwool7
What kind of support are you looking for?
@kahlilnc
Right now, all shops are admin-esue. They sell infinitely. I'm trying to figure out the best way to have player-to-player shops.
Some type of Spout support would be really cool, but either way, awesome plugin!
So the shops are all admin related shops?