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 12, 2013question, is it possible to spawn arrows in someone? with a recent update, arrows stay in a person's body a lot longer, might be a good graffic for a defensive power, cover yourself in arrows. kinda like a porcupine.
-
View User Profile
-
Send Message
Posted Jun 12, 2013Hi sirrus, ever seen an error like this before?
[WARNING] [S86 Powers] Task #13 for S86 Powers v4.3.1 generated an exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -5 at java.lang.String.substring(Unknown Source) at me.sirrus86.s86powers.tools.utils.VersionManager.getBukkitBuild(VersionManager.java:63) at me.sirrus86.s86powers.tools.utils.VersionManager.(VersionManager.java:46) at me.sirrus86.s86powers.S86Powers.getVersionManager(S86Powers.java:368) at me.sirrus86.s86powers.tools.users.PowerUser.getPacketMaker(PowerUser.java:311) at me.sirrus86.s86powers.tools.users.PowerUser.removePotionEffect(PowerUser.java:502) at me.sirrus86.s86powers.powers.offense.BrewMaster$1.run(BrewMaster.java:68) at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:58) at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:764) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:320) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:721) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:605) at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
-
View User Profile
-
Send Message
Posted Jun 10, 2013I have 8GB of RAM on my Minecraft hosting. I am using 40% without S86 Powers enabled.
I am slowly (within 10 minutes of a restart) using 100% memory with it enabled.
Here are the powers I have enabled: http://sharetext.org/fRPC
EDIT: Latest version.
EDIT 2: Also Aquaphile works sometimes and then doesn't work other times.
-
View User Profile
-
Send Message
Posted Jun 9, 2013Where do i get powers? Im new to bukkit
-
View User Profile
-
Send Message
Posted Jun 9, 2013@kodama6
Yeah, basically powers that are still in development, except for EffectWand which is a power to test particle packets.
-
View User Profile
-
Send Message
Posted Jun 9, 2013oblivion and wand and all the new powers that showed up on the config. Arn't they the next powers to come out?
-
View User Profile
-
Send Message
Posted Jun 9, 2013@monstercat101
I haven't tested this against Spigot, or really anything other than CraftBukkit. Since implementing the error notification system I've realized the plugin still needs to be fine-tuned before pursuing other platforms.
@kodama6
Ah might've been an error in coding, I'll check. And what do you mean by spoiler?
@clawx207
That or something is stopping it from working. I haven't had a chance to really find out why some people can't get any powers to load despite the plugin now handling it completely on its own.
@Chromish
Yeah I'm in the process of fixing permission-based powers and group-assigned powers, they're my next focus.
-
View User Profile
-
Send Message
Posted Jun 9, 2013I got Holy Shield working, but now S86 Powers doesn't seem to interact with permissions at all. The only way to assign powers is through manually adding each power to players. I've even completely deleted S86 Powers and its folder from the plugins, but the same effects occur.
-
View User Profile
-
Send Message
Posted Jun 8, 2013@sirrus86
Okay will do ill reactivate plugin to get the errors
-
View User Profile
-
Send Message
Posted Jun 8, 2013@sirrus86
I tried it a while back and it works fine, no errors. The issue is that it doesn't load any powers. I guess it doesn't recognize the power loading feature?
-
View User Profile
-
Send Message
Posted Jun 8, 2013When I use vampirism's bat tranform, errbody around me gets kicked from game.
On a side note, do I see spoilers in the config? uh oh.
-
View User Profile
-
Send Message
Posted Jun 8, 2013Is it possible to get this working with spigot/libigot? Some powers don't work with those mods, but work with craftbukkit.
-
View User Profile
-
Send Message
Posted Jun 7, 2013@sirrus86
Cant wait for it! Thank you for all the job you did!
-
View User Profile
-
Send Message
Posted Jun 7, 2013@jazzman170
In your permissions plugin what you can do is disable the node s86powers.enable for the desired world, this will effectively disable power use in that world.
@kodama6
Glad you like it!
@ValeraSTK
Nothing complete, but I did begin work on it. Should be done in the next version or so.
-
View User Profile
-
Send Message
Posted Jun 7, 2013@sirrus86
Hi! Does new release contain any fixes for permission based power assigment?
-
View User Profile
-
Send Message
Posted Jun 7, 2013haha, you did the fishingpole superpower. Awesome.
-
View User Profile
-
Send Message
Posted Jun 7, 2013@sirrus86
im setting up - permisions in worlds i dont want certain plugins to work in like for mini games, zombie survival, ect. so i was wondering what permission can i give that will disable all powers from working in a different world?
-
View User Profile
-
Send Message
Posted Jun 6, 2013@zeroseto
Send me some errors, otherwise I don't really have much to go on.
-
View User Profile
-
Send Message
Posted Jun 6, 2013Powers have to be reloaded for the power to be used again. and any use of power causes the console to go nuts. i tried it by itself after it spammed my test servers console. The Summoner Will spawn a mob that will attack you so it's not very well wanted unless u give someone the passive so mobs don't go after them but if your in a team fight then you mess your friends over as well.
I like the plugin allot though it's a cool concept and i have this plugin on my favorites as soon as it's fixed i want it in my Server so i can use it for kits.
-
View User Profile
-
Send Message
Posted Jun 6, 2013@clawx207
I haven't tested this with MCPCPlus, but after looking into it I imagine it'd work fine. Give it a shot, let me know if it gives you any errors.
@jazzman170
Ah yes, protections... I just need to add a cancel check to those powers. Should work fine after that.