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 Jan 20, 2013@sirrus86
Alright, new problem,
10:28:03 PM [severe] Could not pass event EntityTargetLivingEntityEvent to S86 Powers v4.1.1
every time a mob looks at a player. I can send you the rest of the error if you need it
-
View User Profile
-
Send Message
Posted Jan 20, 2013@sirrus86
2013-01-21 02:19:05 [WARNING] [S86 Powers] Task #98 for S86 Powers v4.1.1a generated an exception java.lang.NullPointerException at me.sirrus86.s86powers.powers.utils.MobHelper$1.run(MobHelper.java:52) at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:530) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) 2013-01-21 02:19:05 [INFO] Player logged in in world Myrtana
And that is with the latest version.
-
View User Profile
-
Send Message
Posted Jan 20, 2013@Flameswy
No worries! It does nothing but help me improve the plugin further.
-
View User Profile
-
Send Message
Posted Jan 20, 2013Thanks a lot, and sorry for 8ugging you about it!
::::)
-
View User Profile
-
Send Message
Posted Jan 20, 2013@Flameswy
NoClassDefFoundError: net/minecraft/server/v1_4_6/Packet just means you're using Bukkit for MC 1.4.7. As tommycake50 stated Minecraft and Bukkit now update classes for every version of Minecraft that comes out. I'll see about getting an update for 1.4.7 ASAP.
@tommycake50
As it turns out multi-version compatibility is a bitch to get working... I actually wasn't aware a Bukkit 1.4.7 had come out, now that I know I'll get on making an updated version.
@FSCarver
It's trying to remove a potion effect from a user it can't find. Download version 4.1.1, then download version 4.1.1a here and overwrite the main jar, it should fix the spam.
As for Mob Tamer, I'll take a closer at it, though it kinda sounds like a power conflict.
-
View User Profile
-
Send Message
Posted Jan 20, 2013@tommycake50
So I should just wait for him to update to 1.4.7?
-
View User Profile
-
Send Message
Posted Jan 20, 2013Also whenever I try to ride a mob I tamed with MobTamer, I get an egg of the mob instead of riding it. and the mob dissapears.
-
View User Profile
-
Send Message
Posted Jan 20, 20132013-01-20 16:35:01 [WARNING] [S86 Powers] Task #102 for S86 Powers v4.1.0 generated an exception java.lang.NullPointerException at me.sirrus86.s86powers.powers.users.PowerUser.removePotionEffect(PowerUser.java:356) at me.sirrus86.s86powers.powers.users.PowerUser$1.run(PowerUser.java:59) at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:530) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
It keeps spamming my console with messages like that.
-
View User Profile
-
Send Message
Posted Jan 20, 2013@tommycake50
oh and sirrius86 you may want to put a warning about s86 powers not being multi-version compatible with the default powers(and maybe your plugin code contains nms too havnt looked tho) because of bukkits safeguard.
-
View User Profile
-
Send Message
Posted Jan 20, 2013@Flameswy
your running 1.4.7 server s86 powers is built for 1.4.6 bukkit has a safeguard that means plugins that use/load code which is nms/obc has to be updated EVERY update.
-
View User Profile
-
Send Message
Posted Jan 20, 2013Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_4_6/Packet at me.sirrus86.s86powers.configs.PlayerConfig.getUser(PlayerConfig.java:55) at me.sirrus86.s86powers.commands.ComPlayer.<init>(ComPlayer.java:27) at me.sirrus86.s86powers.S86Powers.onCommand(S86Powers.java:96) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
Does this look right? It looks like its saying I put the powers in the wrong place...
-
View User Profile
-
Send Message
Posted Jan 20, 2013@TotalPotato
The 'powers.elite.LocustSwarm@3e18134b' is coming up because of an error in my coding, I just looked it over and all it does is display the power instance as text instead of the name. I'll have this fixed for the next update. In the meantime, the required powers for Locust Swarm are Adaptability, Geomancer, Martyr, Oan Alteration, Summoner, Wither Born, and Zombify. By default you need at least two of these and be level 50+ to use the power, both of these requirements can be changed in the plugin's main config. I intend to include an option to directly assign elite powers in the future.
Glowstone destroying itself as far as my plugin is concerned can be from having Godspeed or Holy Shield assigned, those are the only two powers I can think of that use it by default.
@Flameswy
When you get the message "An internal error occured while attempting to perform this command", an error usually gets recorded by the console. Give me this error and I can better evaluate the problem.
-
View User Profile
-
Send Message
Posted Jan 19, 2013Not working for me. I can call up the help menu and see command listings, but trying the /powers player <playername> <powername> just tells me, "An internal error occured while attempting to perform this command"
Is it out of date, or did I do something wrong? Any help?
-
View User Profile
-
Send Message
Posted Jan 19, 2013Oh on the /p powers locustswarm it doesnt tell you what powers it needs, it says this 'powers.elite.LocustSwarm@3e18134b' Also would you mind making a command so we can toggle if the elite powers need all the other powers to be usable? Edit: Glowstone keeps destroying itself when i left click with it, do you think this has something to do with the plugin?
-
View User Profile
-
Send Message
Posted Jan 18, 2013@Warrior_Dargon
The only thing a player should need to use powers by default is the permission s86powers.enable set to true (which it already is by default), and be in survival mode (which can be turned off in the plugin's main config file). Check these, then try version 4.1.1a and see if the problem persists.
@dszed
The mobs not defending their owner is due to an oversight on my end. I'll see that it gets fixed for the next update.
Throwing powers weren't working properly in v4.1.0. Try using the power pack from v4.1.1.
I'll look into the chat spam from Lycanthropy.
@TotalPotato
I'll look into it.
-
View User Profile
-
Send Message
Posted Jan 18, 2013From what I can see 4.1.1a has fixed the double group thing, the ranged abilities work properly and the /p player [name] [power] Works but I can't get the powers that the group has to work.
-
View User Profile
-
Send Message
Posted Jan 18, 2013For some reason mob taming and summoning skills aren't working properly for me. Mobs won't do anything except followning me. I'm using craftbukkit 1.4.6 RO.3 and powers 4.1.1a Also there's some problems with throwing powers - kunai, cookie stars, geomancer, laser they damage the user too. One more problem with Lycanthropy power, when you are in a werewolf form and the sun comes out it spams the console with "returnig to human form" message.
-
View User Profile
-
Send Message
Posted Jan 17, 2013Every time I get powers I cant seem to give my friends to have powers and their builders. I would like to know how to give my friends who r lowers class to have powers. if you have permissions for allowing friends to use powers it would be very appreciated.
thank you
- Warrior_Dargon
-
View User Profile
-
Send Message
Posted Jan 17, 2013Since many people were having issues getting powers to work since v4.1.0 and v4.1.1, I took a day to test the plugin and was able to determine a few oversights which may be responsible for the issues. Rather than have you guys wait for ANOTHER update, I just hotfixed the latest version and will make it available here.
Version 4.1.1a
Note: You only need to replace the S86_Powers.jar file.
Download here.
-
View User Profile
-
Send Message
Posted Jan 17, 2013@TotalPotato
Strange... you're the second person to report this same issue since v4.1.1 was released. I'll have a look over the code. I'll take a look at the group bug too, have a feeling I know what's causing it.