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!
Please release the v.5 soon, I'm so excited for it!
@Melekaiah
You can either give me a link to a dropbox file or just email me the file, [email protected].
@HoosierDaddy76
Yeah I'll definitely check it out sometime! I'm glad to hear you're enjoying the plugin, this has really motivated me to get back to work on it (been really busy, my bad!).
Hello Sirrus. I have three public servers. I have been running s86powers on at least one of them for quite some time. One in particular runs powers along with spells and guns and mcmmo all seperated out into class permissions. These do work extremely well together if setup properly. I have a very strong interest in testing the new version(s) of s86powers as I have found this to be my favorite plugin of all for adding role play and class specific abilities to my server. Please consider me for a spot to test your new versions, as I can even take one of those servers off and make it exclusive to testing s86powers. I have a line of people who would like to assist in testing the powers for bugs, cheats, playability, pvping, grief checks and overall awesomeness. Thank you for making an amazing plugin that is like no other!! We are very much looking forward to what might come out of your awesome mind in the next iteration of the plugin. You are whitelisted and op on my 1.6.2 server. So you may come in at any time and see what types of classes I am talking about. This server has been highly anticipated by the people who frequent my servers and I would like you to see what I do with your amazing plugin. Hope you have the time to see sometime! I will pm you the ip sir.
@sirrus86
erm. how do i get the files to you?
@Makemyday17
Nah it's gonna be awhile, I haven't had a lot of free time.
@TheSigler49
This wouldn't replace mcMMO if you're looking for something with stats, these are just abilities you can assign to players.
@OneMinePiece
Alright, I'll keep you in mind!
@Melekaiah
Would it be possible to link the exam files? Every time I've run NoLagg it always reports that even NoLagg itself is using more resources...
using nolagg i find that this plugin is currently using an amazing amount of stuff even when no users are able to use it.
id like to test the new version if youd let me, i am currently doing final testing to open the server to public, trying to iron out a few lagspikes. of which this plugin seems to be the major offender atm.
doing more tests soon
I am willing to test the plugin to help you :)
'll Just that I use google translation to talk, and I have some idea you proposed
Not suer if this is explained, but I can't seem to find it?
I want this to replace mcMMO and is there a leveling system for all the skills? If there is, does the strenght, etc increase as the level goes up?
Can you make a more detailed description please.
v5 out soon?
@MrTander
Sounds good to me, I want to make sure this works with any popular builds out there.
@ValeraSTK
Really all you need is a decent server and some people who want to test it. The main purpose of this build is to fix any memory leaks or lag the previous builds caused, so you'll need to be able to keep an eye out for that as well. Finally, you'd just need to be able to keep in touch with me. I'll be bundling it with an emailing plugin that will notify me of error stacks, but otherwise I'm depending on testers to find flaws for the most part.
@sirrus86
Great news! Can you please be more specific, about what testers should do, and what kind of server they should have?
@sirrus86
I'm using MCPC+, it's forge server with bukkit plugin support. I'm sure you heard about it. http://ci.md-5.net/job/MCPC-Plus/
As some of you know, I'm currently rewriting this plugin from scratch for v5.0 in an attempt to fix the memory and latency issues recent versions have created, and with this I'm introducing new features. So far the following changes have been made:
My hope is to have an early test build ready sometime next week, for which I will need testers. When the time comes, the test build will be given directly to testers rather than uploaded. In the meantime, I need feedback for what powers people want to see in the test build. Please leave a comment here or PM me if you have a power you want added for the test build or if you wish to help test it.
@Makemyday17
I'm recoding everything in v5.0 just to be safe, but glad to hear the powers are likely not the culprit.
@YuuExussum
Yeah in v5.0 I already have a command where you can browse powers by type and affinity.
@MrTander
Your server looks like it's missing some of MC's core packet classes, are you running on Bukkit or some modded build?
The third error is from MC/Bukkit's recent change to the damage and health methods in MC 1.6+, which required a rewrite of some code to make work but wasn't backwards compatible. I'll see about getting that resolved.
I tried to use S86Powers v4.3.6 on 1.5.2 server, because 4.3.3 have some bugs (e.g. Kunai and Laser didn't harm enemies, Aeroblade created feathers each strike). But I get a lot of errors like this:
Is there any fix or i should using only v4.3.3 for Minecraft 1.5.2?
This plugin is great, but for future users, could you put all the power "classes" into respected categories, or even powers that are offense related all into an offense category and etc. This would just make it a lot easier to read and whatnot.
Ok, so, the powers and the plugins seems to be decently innocent from the tests we've done so far. So it must be something in the general build and structure of the plugin who's conflicting. So the best bet is to just rebuild it from scratch, and you should be able to keep the powers codings.
@UrNowKoed
You guys are awesome! These lists do help immensely to determine if it's a plugin conflict.
@UrNowKoed
A lot of the requests and issues you're having are all things that will be getting a lot of attention for the v5.0 update. I'm glad you reported the Shatter Blade one, I hadn't thought of that issue when I rebuilt it.
@Makemyday17
I thought the Java version might be part of it, I've since made a habit of compiling and running the plugin and my test server solely on Java 6. My server's max memory allocation is set to 1GB. Even with the list you provided the highest my server gets is 500MB before the garbage collector kicks in.
@n33dy1
Heh WorldEdit would not be a good plugin to have a conflict with! However it may give me a better idea of the cause. That WorldEdit error you got is fairly common though.
@Makemyday17
I get the memory leak and I do not have Factions, mcMMO, ServerSigns, or WorldGuard.
If it were a conflict with plugins, we can now shorten that list to:
EDIT: I tested it with only these plugins (and just standing still monitoring my memory) and I got no leak.
To further rule things out, it would be nice if sirrus86 would make multiple test builds stripped of certain things.
Examples: A build with no powers in it, a build with no powers in it and lacking a certain feature, a build with only a certain feature, etc.
EDIT 2:
It might be WorldEdit! I didn't do anything with WorldEdit. I was just shooting some arrows with Shatter Blade. For some reason it didn't show them as diamonds nor did it do the explosion. I'll add the plugin to my primary server and disable WorldEdit.
EDIT 3: All powers disabled. WorldEdit removed. Memory leak persists. Man this is cray cray.
I just wonder, this is coded for Java 7 right? Might be the main key in the lag issues if it isn't. Of UrNowKoed plugin list down below I also use:
If he has the same memory leaks it might be conflicting with any of these plugins listen above. And how about the RAM allocated, I think I heard someone had memory problem with this plugin because of low RAM allocated.. I have 1.5GB allocated RAM to my server and I get these crazy memory leaks. Well, I just think it's worth to mention if it might be the key to speed up the process. Look into these stuffs, might be the key.