S86 Powers
Introduction
Minecraft is a great game on its own, but chances are if you're here and you're a server admin then you're looking for more to offer your clients. As you may know by now, when it comes to the extras every player wants something unique. Some want new mechanics, others want better weapons. Some want to help their friends, others want to dominate them. The problem is most plugins often offer a blanket solution. While it may fulfill the needs of a few, the remaining may not want to participate. Sure you can mess with permissions to exclude some people, but why not just cut to the chase and give every player EXACTLY what they want?
For the server that wants its players to each have individual benefits and abilities, S86 Powers is the plugin for you.
How It Works
S86 Powers is a plugin that allows users to have powers assigned to them. The core plugin comes with internal powers, but is also capable of importing powers made by others (more info to come).
To get started, simply place the S86Powers.jar file where you put your other plugins. Note that ProtocolLib is required for S86 Powers to function. On first run, several configuration files are created with default values. It is recommended that you not edit these files directly unless the server is off, as entered values may be overwritten the next time the server shuts down or restarts.
Next, you'll want to review permissions and configuration options. Operators by default get permission to everything, otherwise assigning the permission s86powers.admin will accomplish the same thing. To view configuration options, use the command /p config list [page#] (for example, /p config list 2 shows you page 2). For more information on what an option does, use the command /p config info [config], and to change config options use the command /p config set [config] [value].
Finally, for players to use powers they must first have them assigned, and before they can do that they'll want to know what's available. Use the command /p power list to get a list of loaded powers, then /p power [power] for more info on a specific power. If you don't like how a power is setup, you can check and set its configurable options with /p power [power] option. Note that changes to power options affect all users, and may require a server reload/restart for changes to take effect.
Players can be assigned powers in several ways, the two most prominent being admin-assigned or self-assigned. Admin-assigned requires a user with the s86powers.manage.user permission to use the command /p user [player] add [power]. Note that the above permission allows the user to set anyone's powers and shouldn't be given to most players. Self-assigned requires a user to have the s86powers.manage.self permission, and use the command /p add [power]. This method is safer, as the user can only modify their own powers.
What Are Powers?
Most powers come in three categories: offensive, defensive, and passive. Offensive and defensive powers operate similarly: the player does something with a specified item, and it causes an effect. Offensive powers usually do something that causes damage to others, while defensive powers usually do something to protect the player in some way. Passive powers tend to work automatically and provide some kind of bonus that neither hurts others nor protects the player (though there are exceptions).
An example of an offensive power is Laser. In its default configuration, left-clicking while holding a dispenser will fire a laser in the direction that the player is looking. This laser steadily does damage to anything it hits but uses redstone dust as fuel. The laser turns off when either the player left-clicks while holding a dispenser again, or when the player runs out of redstone dust. After using Laser, the player has to wait for a 10 second cooldown before using it again.
An example of a defensive power is Celestial Pillars. Left-clicking the ground while holding a sea lantern will create pillars of light around you. While these pillars stand, nothing can pass between the pillars except for the player. Pillars last for 45 seconds, however the player can't create new ones until the old ones expire.
An example of a passive power is Lumberjack. With Lumberjack assigned, breaking one log block of a tree with an axe will cause all adjacent tree blocks to break as well, essentially harvesting the entire tree at once. By default, a threshold is put in place so players can't level entire jungles.
Some powers have additional effects when they're used a lot. For example, after creating 60 pillars with the Celestial Pillars power, you gain the ability to create a second set of pillars by left-clicking the same block with a sea lantern again.
By default, players can only have one of each of the above power types assigned to them, though this limit can be removed with config options.
The last power type is utility. Utility powers can be used by anyone, including players with no assigned powers. Neutralizer Grenade allows players to throw lapis lazuli like a grenade, temporarily disabling the powers of any players nearby when it hits. Neutralizer Beacon allows players to create a block that constantly disables the powers of players who go near it.
Commands / Permissions
All commands can be viewed by simply using the /powers help command. You can view additional pages using /powers help [page], or view help on specific topics like /powers help player.
Donate
Creating and maintaining a plugin this size can be a full-time job on its own. I enjoy working on this plugin and don't mind doing it for free, but the fact remains that I must commit a majority of my free time to do this. If you like my work and would like to support it, please consider donating.
Need support? Have an idea for a power? Join my Discord server!
-
View User Profile
-
Send Message
Posted Sep 11, 2012@sirrus86
Very fast reply, I appreciate that.
With the dupe glitch, I would put an item from my hand to my inventory, then attack barehanded. This would leave the item in my inventory, and create another in my hand. Like you said, it was a "ghost item", which fixed itself upon restarting the client. Disabling notify in the config cleared up the problem for me. Just wanted to share my experience.
-
View User Profile
-
Send Message
Posted Sep 11, 2012@kspade
Pickpocket does a few things that make it unique. For one, since the player can't sneak while opening an inventory, it "pretends" you are anyway, keeping you hidden (this breaks if you're caught or aren't holding sneak when you exit the inventory). For another, it creates fake temporary inventories with randomized loot in randomized quantities.
I did notice in testing that this would occassionally create "ghost items" that were essentially 0-stack items (as soon as you go to use it or put it anywhere it disappears). I'll double-check to make sure it isn't still making these.
The inability to use the power again is probably the plugin stuck thinking you're still sneaking even if you aren't.
-
View User Profile
-
Send Message
Posted Sep 11, 2012Noticed an issue I was able to replicate more than once with pick pocket. If "noticed", it tends to break/bug my client. I am able to fake dupe items (They disappear on relog, +attempted putting into a chest, then relogging, and still gone) due to my inventory glitching out. Also unable to attack/pickpocket. Not a huge problem due to config options.. and a simple reload of minecraft fixes the bugs .. but just thought I'd throw it out there.
The only warning thrown was
[Warning] *player* moved wrongly!
Edit: I almost forgot to say how much I love this plugin. Keep up the great work!
-
View User Profile
-
Send Message
Posted Sep 11, 2012@MinecraftXZ
Yeah I see what you mean, I may implement something like this in the future but my main goal right now is getting the base plugin towork again. And yes I intend to add some stuff to Vampirism.
@n33dy1
Holy Aura - I'll take a look.
Toggling - Again I'm just trying to get the base plugin back up and running, but I may add this in the future.
Healing - Most powers that heal perform a check to see if the player has more than 0 health, otherwise this would cause an error. The powers you indicated may be missing this check, I'll look into it.
@LazarusVec
You don't have to bribe me for that, it's a common request that's easy to implement. But right now my goal is to get version 4.0 up and running which will take at least a few weeks at my current pace.
-
View User Profile
-
Send Message
Posted Sep 11, 2012say if i were to give you $5 as a bribe request instead of making a new power could you just tweak vampirism to give you like strength 1 or 2 but be killed quickly with wooden sword (like a stake) and add to bloodbend maybe something like whatever entity you bloodbend get nausea or something. Thanks
Also if there was like a vampire elite power what would the combination be. Like i know you would need vampirism and bloodbend but what would the defensive be in the combination. :P
-
View User Profile
-
Send Message
Posted Sep 10, 2012Holy Aura no longer prevents PvP when holding a torch.
Also, can you please add a toggle ability for Diversion? It's a cool power, but if my users buy other powers to make them seem epic in PvP, they kind of want a chance to show them off too. It would be neat if you added a /powertoggle PowerNameHere command so you won't have to do what you did with Geomancer, using the redstone torch stuff... Another reason a command is better than using items for toggling is I also use the MagicSpells plugin which lets users bind spells to items and typically they use torches and levers for their spells since they look like mini wands and because we use sticks for viewing claims with GriefPrevention. It would also make Aero Blade more attractive too. Sometimes it's nice to use Eldruin without the feathers from Aero Blade sending them back 50 blocks lol
EDIT: I have a plugin that allows users to keep their items on death, but if you have Boiling Blood and someone kills you with a weapon that does fire damage (we tested with a bow), you lose your things when you die. It doesn't even drop the items. This is because the fire affect is healing you even though they did enough damage to kill you. Any healing after death = all items in inventory wiped. If I have Aquaphile and I die in water, it not only happens again, but you can be revived after death sort of and be unable to type. If you view yourself in your inventory by pressing 'E', it shows your player all red-faded and lying on his side. :(
My solution would be to have a little IF statement before each healing tick from any of the powers and if the player == dead then don't do it. They'll just click Respawn like normal. That may fix it.
-
View User Profile
-
Send Message
Posted Sep 10, 2012Hmm I got another question XD. Is there a way for you to enable more powers according to level. For example: Level 1 - 10 : 1 power in each category. Level 11 - 20 : 2 powers in each category. Level 21-30: 3 powers in each category.
You get the gist right? And btw i haven't really checked if this was suggested or not so.. yea.. Might be good for v4.0. And maybe you will do some idk Vampirism * Hint Hint*. That's all for now.
-
View User Profile
-
Send Message
Posted Sep 10, 2012@RacerXXL
The only thing I can do on my end (and plan to) is add an option to disable permission-based power assignments, however this would mean you'd be unable to utilize certain functions of certain powers (for example Power Theft requires permission-based assignments to work). In my opinion your best course of action is to manually set your permissions rather than rely on wildcards as this is an issue you'll possibly find with other plugins as well.
-
View User Profile
-
Send Message
Posted Sep 10, 2012@sirrus86
Can you please solve this problem with PermissionsEx, it's the only permissions plugin I can handle with and also my fav. This would be grat!
-
View User Profile
-
Send Message
Posted Sep 10, 2012@fletch_to_99
Beacons shouldn't be using WG for anything, so I'm assuming you mean regions. I'll admit I basically published the first thing I could get to work, which may not have been efficient. This is probably why it worked fine by itself, as it won't even manage regions if WG isn't loaded.
-
View User Profile
-
Send Message
Posted Sep 10, 2012@sirrus86
It turns out that neutralizer beacons were the thing causing the lag. In the version form the source you gave me I removed neutralizer beacons and then compiled it and ran it. The lag disappeared but when we tried using The new version that you published it started to lag again. It appears that the way you are using wg to make the beacons doesnt work well with our server
-
View User Profile
-
Send Message
Posted Sep 10, 2012@n33dy1
Of course. They'll be lockable like normal powers, or you can disable all of them in the main config file.
-
View User Profile
-
Send Message
Posted Sep 10, 2012@sirrus86
I hope we get the ability to disable the elite powers.
-
View User Profile
-
Send Message
Posted Sep 9, 2012@LazarusVec
Yeah this is probably caused by packets cancelling each other out. I'll see if I can get it fixed but there's only so many methods you can use to make a player disappear and reappear.
@RacerXXL
The most common cause of this issue is where a server is using PermissionsEx and gives players the * (wildcard) permission, as this activates all permission-based powers. The best ways to fix this are either to not use the wildcard and instead manually set your permissions (best option imo) or switch to another permissions plugin.
@Humanfiend
Nether Cloak - Cloaked players should still be able to take damage, if they're not then this is definitely a bug I'll need to look into. And I agree, block placing does create an unfair advantage, I'll see about fixing that.
Neutralizer - Not sure what you meant by null fields (as in undefined regions?). I can make beacons work with regions, though regions were originally meant to be a more permanent solution where players couldn't just find the beacon and turn it off (for example, spawn). Maybe I'll add something to the config for it.
@MinecraftXZ
Drains - I like your ideas, but giving a player control of the sun/moon actually gives them an immense advantage should they have a power that depends on it. Fortunately I've had a power in mind that does just that.
After I finish v4.0 I intend to introduce Elite powers. These will be powers that automatically become assigned under two circumstances: 1) You're at least level 50, and 2) Your offense, defense, and passive powers all follow a similar theme.
For example, my preferred powers are Dark Regen, Ender Soul, and Soul Shatter. These are all darkness/enderman themed and are somewhat similar. At level 50 I'd gain a new power called Ebon Curtain. What this does is, if it's used during the day, time is sped up until it's night time, at which point a storm kicks in. During this storm, when lightning strikes, it summons an enderman at the strike location. Since Dark Regen and Soul Shatter depend on darkness and Ender Soul works well when other endermen are nearby, this would practically make me a god for a night.
But first things first, version 4.0 is... I dunno, 10% done at most?
-
View User Profile
-
Send Message
Posted Sep 9, 2012Power Request: Sun drain- Regenerates hearts for a price, Sunlight. This power slowly drains the sun making it Night.[30lvl] The Sun gives you fire resistance (deos not effect the Time) Type: Defensive
Opposite Moon Drain- Regenerates Hearts for a price Moonlight. This power slowly takes away night bringing day faster.(Risky for Vampires. Ouch I would know). [30lvl] The Moon Gives you increased speed. (SPD level 2) Type: Defensive
-
View User Profile
-
Send Message
Posted Sep 9, 2012Powers request ^-^ Nether cloak: invisible people are not able to be hit when cloaked, possible to reverse this? Plus dont let them be able to place blocks when invisible? its a little cheap in pvp servers (server poll opionion)
Side note: adding worldguard regions to null fields & the lapis/torch/lever thing. Once placed causes a 10-20 second chat lag. (cause of our lag here when using plugin. to supliment this we just made worldguard regions healing regions/invunerable)
-
View User Profile
-
Send Message
Posted Sep 9, 2012@RacerXXL
I do not have this issue with mine, just saying, so maybe you could look into possible reasons why it's doing it for you. Permission maybe?
-
View User Profile
-
Send Message
Posted Sep 9, 2012This plugin doen't work anymore for me, every player has ALL powers! Please help, I love this plugin!
-
View User Profile
-
Send Message
Posted Sep 7, 2012Nice tell me when your not WAAY behind on bribe requests :D
EDIT: I would also like to report that if you use any sort of invisibility sort of power with lycanthropy when you reappear you are apparently (this is what i have been told by witnesses) that you become like a human on top glitched and merged with a wolf on the bottom. :P
-
View User Profile
-
Send Message
Posted Sep 7, 2012@n33dy1
Right now the plugin's been rebuilt from scratch, as I inadvertantly deleted all of the project source files. The most recent .jar I'm working off of is the same as what v3.2.6 is. I am however going to occassionally commit the changes to a GitHub account, I'll post more info once I've made some decent progress.