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 Jun 30, 2013One of the best plugins I've ever seen, I was afraid it was too good to be true... so basically I installed it on my server that before had 0 lag 20 TPS all time, and yeah it started to lag like crazy, and no one was even using it expect me that tried out the acidblood power, but wow tps dropped to like 2. Not really sure why, but argh got so sad because this was like a dream for my RPG server with classes. A DREAm, perfect. However I had to instantly remove it and restart server, and 0 LAg again, not sure of it's gets messed up with any plugin I use, because I use a lot of plugins. Or if it's not working with spigot... or just my 1.5 GB of ram can't handle it as I think I read here before. However, don't have any error log sadly
-
View User Profile
-
Send Message
Posted Jun 29, 2013Greetings-
I have configured an arena to be a "neutralized region." When players enter they hear the glass shatter and a message comes up that powers are disabled and you are in a neutralized region. Only problem is that powers are not disabled. Players can use them just fine.
Anything obvious I might be missing here?
I did the /powers region -a and checked the area to make sure it was covered. Players get the normal warning about disabled powers, just not sure why they're not truly disabled.
-
View User Profile
-
Send Message
Posted Jun 28, 2013@ValeraSTK
Well that sucks... I'm honestly not sure what's causing it.
I tried testing this myself. I set my server's maximum memory to 1GB, loaded myself up with some of the more resource-intensive powers, and went to town on a couple hundred mobs. My memory usage could only get to about 400MB before Java's garbage collector kicked in, dropping it back to under 100MB.
Now for a 1GB server it's possible that enough Java objects are created that the garbage collector can't remove enough to save the server, but in @n33dy1's case this shouldn't occur on an 8GB server.
@jazzman170
Eh, this wasn't one of the problem permissions, so this is a new issue... I'll look into it.
-
View User Profile
-
Send Message
Posted Jun 26, 2013@jazzman170
Perms and groups are still being fixed. Wait till next update, then try to do permission bases.
-
View User Profile
-
Send Message
Posted Jun 26, 2013i gave my permissions the " -s86powers.enable " permission and yet powers still work in the worlds that have the disable permissions, what am i doing wrong?
-
View User Profile
-
Send Message
Posted Jun 24, 2013@soccerstrike917
http://dev.bukkit.org/server-mods/s86-powers/pages/powers-db/
-
View User Profile
-
Send Message
Posted Jun 24, 2013You should make a list of powers. A list would get me very interested and would be helpful in knowing more about what the plugin does.
-
View User Profile
-
Send Message
Posted Jun 24, 2013@sirrus86
Test with CB give me the same result: all memory was consumed.
-
View User Profile
-
Send Message
Posted Jun 23, 2013@ValeraSTK
Yeah give CB a shot and see how it runs.
@kodama6
I'd say that's pretty good! Now that I think of it my friend's server has been crashing a lot lately, might have to do with them using my plugin >_>
@xTrainx
"in the new version it got a little better and didnt happent hat often"
This is really good information actually, as it kinda gives me an idea of what changes created an improvement.
-
View User Profile
-
Send Message
Posted Jun 23, 2013@sirrus86
Hey sirrus, about that thing it does happens in my server sometime, i had to revert to 4.2.2 because it didn't crash my server, it just ramdonly started to use all the memory, droping the TPS to 3 or 4, and then crashing the server, whithout any power being used, in the new version it got a little better and didnt happent hat often
-
View User Profile
-
Send Message
Posted Jun 23, 2013@ValeraSTK At this point, where there isn't much to go on, anything will help him. Try to test on CB, see what happens.
@sirrus86
My server is only 756mbs, and I run this plugin and a few others without any issues. I don't think your plugin demands enough to max out a server, even a small one.
-
View User Profile
-
Send Message
Posted Jun 23, 2013@sirrus86
As I say, I make test with only 1 player online. So 1gb ram is ok, in this situation. Should I make another test on CB instead of spigot?
-
View User Profile
-
Send Message
Posted Jun 23, 2013@clawx207
It used to use WG's region system, but for some reason my plugin eventually became unable to detect WG regions so I switched to chunk-based regions which... yeah isn't fantastic. I'll see about reimplementing WG regions.
@ValeraSTK
My plugin hasn't been tested to work with Spigot so I can't guarantee it'll be 100% compatible.
I know NoCheatPlus can conflict with some of my plugin's powers, but the fault is on my plugin not NCP.
And 1GB of RAM with 26 slots? Without taking the network into consideration, isn't that pushing it a bit? But yeah S86 Powers, even with all powers disabled, can consume a decent amount of resources, which may be part of the problem.
-
View User Profile
-
Send Message
Posted Jun 23, 2013@kodama6
ok, so first of all - I run my werver on spigot
Plugins:
AdminCMD
WorldEdit/WorldGuard
bPerms
MultiVerse
NoCheatPlus
Vault
TagApi
PvParena http://dev.bukkit.org/bukkit-plugins/pvparena/
SDFeconomy http://dev.bukkit.org/bukkit-plugins/sdfeconomy/
ConsoleSheduler http://dev.bukkit.org/server-mods/consolescheduler2/
ColoredTablist http://dev.bukkit.org/server-mods/coloredtablist/
Herochat http://dev.bukkit.org/bukkit-plugins/herochat/
IP checks http://dev.bukkit.org/server-mods/ip-check-jnk/
There is no spam in console.
My host have 1gb ram and 26 slots. When I run server without s86powers - memory is ok. But when I install s86powers - memory slowly consumed, even with 1 player online, and withoun any actions from this player.
-
View User Profile
-
Send Message
Posted Jun 22, 2013@ValeraSTK
I'm trying to duplicate that whole memory ramping thing, and the only reason I can find is conflicting plugins, what other plugins do you have? Also, is anything spamming in console?
There are a few plugins that don't agree with his, such as SimpleSneak. It's a plugin that makes it so you always sneak, for some reason....his NightCloak power wants to take credit for that sneaking ability and spams the console, I'v found a few other plugins that do similar things.
And I know it's a dumb question.. but how much memory does your server have?
-
View User Profile
-
Send Message
Posted Jun 22, 2013What would be nice is if you could implement the worldguard region system into the plugin instead of the faulty townyish claiming ;)
Btw i really appreciate all the work you have done, most possibly the best/most creative plugin i have seen. thank you
-
View User Profile
-
Send Message
Posted Jun 22, 2013I have the same situation with memory that n33d1 have.
When I install s86powers(4.3.3) for test - it takes more and more memory, and take it all in the end, whith only 1 player online.
-
View User Profile
-
Send Message
Posted Jun 22, 2013@spawnstah
Eh I'll look into it, I haven't updated my GitHub in like three months though.
@ben2212
Orange powers are elite powers. By default you must have the right affinity from powers and must be level 50+.
@kodama6
I'll look into this, unfortunately it's hard to test when I can't usually get other people onto my server.
@n33dy1
Alright then your server just hates my plugin.
Seriously though I'm out of ideas... I may implement a way to monitor the plugin better.
-
View User Profile
-
Send Message
Posted Jun 22, 2013I deleted the plugin and the folder and redownloaded v4.3.3 and put it back in and the CPU usage gets up to 100% and it slowly starts to consume more and more memory over a few hours until it just crashes the server.
Things I kept: users.yml
Things I let reset: Everything else including the config file.
Not sure which power it is that's causing it. Very difficult for me to find out. Still no errors in server.log :(
-
View User Profile
-
Send Message
Posted Jun 22, 2013any news on the powers that change entities? like decoy, aquaphile, and identity. They still dont change the player back to original form.