StrangeWeapons
StrangeWeapons
History
When the ability to give items custom names and descriptions was added to the 1.4 snapshot, the Minecraft subreddit was flooded with various mockups of weapons from other games, such as Borderlands 2 brought into Minecraft. I saw this as an opportunity to make strange weapons from TF2.
Features
- Strange Weapons!
- Can be created out of any item or block.
- Can have custom names.
- Can have custom descriptions.
- Can track any number of statistics.
- Steve Co. Supply Crates
- Opened with Steve Co. Supply Crate Keys
- Customize crate contents
- Give a user a random item (from what you specified) when uncrated
- Strange Parts
- Craft these with strange weapons to make them track additional statistics!
- Name Tags
- Use the /tag command to pick a name, and then craft it with a strange weapon!
- Description tags
- Use the /tag command to pick a description, and then craft it with a strange weapon!
How This Plugin Works
Read this if you are confused This plugin aims to duplicate the item and drop systems that are built into TF2. This plugin has nearly all of the same items, strange weapons, name tags, description tags, crates, and keys as TF2 does. It also has a random drop system to go along with it.
What are all these items?
- Strange Weapons is a weapon that tracks a number of statistics, changes it's name based on the value of the primary (first) statistic, and can have a custom name or description.
- Name Tags can be crafted together with a strange weapon to apply the name set with the /tag command.
- Description Tags can be crafted together with a strange weapon to apply the description set with the /tag command.
- Strange Parts are items that can be crafted with a strange weapon to track additional statistics.
- Steve Co. Supply Crates are specially designated crates which contain an item. Crafting this with a Steve Co. Supply Crate Key will open the crate and reveal the item inside. The contents of all crates must be customized with items and their drop weights.
- Steve Co. Supply Crate Keys are specially designated blaze rods which are crafted with Steve Co. Supply Crates to open the crates. Initially, the crafting will only show a "Mystery Item" in the result slot, but as soon as you click on it to uncrate it will change to the real result. See this image for more details.
Suggested Uses
- Reward players for spending time playing on your server.
- Put strange weapons into crates and let crates drop for players. Then sell keys in an admin store, give them as rewards for voting for your server, or as gifts for donations.
- Competitions to see who can kill the most cows, do the most damage, etc in a set period.
The Random Drop System
- By default, players are limited to 9 item drops every week. When a player joins the server for the first time (or after any scheduled drop), the plugin will roll to determine when they should receive a drop. By default, drops happen every 30 to 70 minutes if the player has not hit the drop limit.. Just like TF2 though, if a player does not claim all of one week's drops, those drops will rollover to the next week. (This makes the limit actually 18 items every two weeks.) The items which drop can be configured with custom weight. (See the
/drops
command.) If a player has a full inventory, they will not receive a drop, instead they will be reminded that they need to have an open space in their inventory and the drop will be rescheduled. If you have admins on your server who are frequently vanished doing secret admin stuff, you can give them the permissionstrangeweapons.drop.announceexempt
and their drops will only be announced to them personally. Should you not want a player to receive drops at all, you can revoke thestrangeweapons.drop.dropitems
andstrangeweapons.drop.dropcrates
permissions. Speaking of crates, the crate drop system works exactly like the item drop system, except that it runs on a seperate timer with separate limits. (Default 3 crates per week.)
@PlantAssassin
Looking forward for the next update and thank you very much for not ignoring my comment :D
Better update the players 1 by 1 with a timer, that will prevent serious lag spikes bro :)
@TowelieDOH
Not at the moment, no. This looks like it'll be the next thing I work on though.
You currently have a task running every 1200 ticks, that loads the config for every user. That is creating quite some lagspikes.
Any way to optimize that?
v0.6.1 was just submitted for approval. It contains the long awaited feature of being able to spawn items for other players.
@Recolance
I just fixed this a few minutes ago, but make sure your max drop times are greater (not equal) than your min drop times.
@n00bsaus
The items drop on a timer, not a particular event. In the next version you'll be able to put something on a sign like "/newkey 1 <player>".
At which events do the random drops actually drop? Mob kills? Player kills? At random? And is there a way to automate the sales of keys/crates via something like a sign shop?
Nice plugin
Sorry if I'm being a pain in the ass. But would be nice to disable the player play time feature. Also getting two errors. I'll pastie them to make this comment not long as hell.
PlayerQuitEvent: http://pastebin.com/aEGZK4K1
Task#6 Exception: http://pastebin.com/UnaPbAQL
@Recolance
I'm not really sure you'll see much of a difference either way. To be honest though, I'm not sure how well this plugin scales up to a huge server. I wouldn't expect much in the way of strain though. This shouldn't be anywhere as intensive as something like logblock. Regardless of which storage type you use, it only saves once per minute.
Also, since you mentioned not wanting to use the crates system, I suggest you bump up the drop times to something very large. It will still attempt to drop items even if there are none available (and it will log each time it tries). Setting a large value will reduce some load because it won't try very much.
@ThaManOfPaper
No.
HUGE IDEA!!!
Salvaged Crates
Holiday Crates
Festives!
@PlantAssassin
I run a large scale server, and say there are 200-300 players average online. Sometimes more, sometimes less. And 50% of those users were using strange weapons to PvP with etc. What kind of strain on my servers and SSD would this plugin cause if I used YML over SQL?
@Recolance
If you don't want to use the crates, keys, etc, nothing is forcing you to. Just don't give any out. The plugin doesn't care either way.
Also, I'm now working on adding support for giving crates and keys to other players via command. It'll make for easy integration with buycraft or a sign that runs commands.
Is it possible to remove every feature except the weapons itself? Maybe take a sword and be able to pay money to turn it into a strange weapon with a specific name. And have it count up kills? All this extra crate business is a lot less appealing than just the counter / name itself.
Hey, I have a problem. After adding things to a crate, everything's fine, but when i reload the server all name are screwed up, for example Strange Pickaxe after reload drops as ?6Strange Pickaxe I supppose that ?6 mean color orange, but after reload or restart it wont just work. Btw, sending you a ticket also, no thing strange in console appears, and using Essentials Chat. Looking towards a quick anwser ;3
Thanks for updating for 1.5.1 Plant :D Also, nice holidays!
How can i get the crates?
First off, my config has fewer options than the one shown, secondly I want to know the IDs for everything.
@RoboRussian
I prefer sign shops. I cant stand chest especially for Admin shops. I dont know if any do this though.
Also, so regarding my last question can you make Steve's Co Items not drop on death. I want everything but the items to drop.
Hello, If you want a plugin that allows you to sell the keys and crates but without changing the item back to blaze rod or chest, then use Quick Shop. It works for my players and me. Here's the plugin link.
Quick Shop Link: http://dev.bukkit.org/server-mods/quickshop/
Hope this helps.