taylorkelly / help Goto Github PK
View Code? Open in Web Editor NEWA complete Help plugin for Bukkit
A complete Help plugin for Bukkit
Hi,
I have been reviewing your source code and tried your plugin and has some ideas:
*** Help/Config.yml ***
help: description: Show this help help.server: description: Show server related help help.server.groups: description: Show groups commands helps help.server.admin: description: Show basic admin help (stop, backup) help.server.roles: description: Show roles help configuration commands help.chat: description: Show chat help, (ratius speech, broadcast) help.chat.msg: description: Send a PM to a player # This github parser doesn't allow to put msg between syntax: /msg <msg> help.chat.all: description: Send a Broadcast message by adding ! at the beggining syntax: !<msg>
So that you can define in GroupManager and all other plugins those permissions directly. There you have the structure already implicit, and you can group different plugin's helps without letting the user which are.
Hope it helps you!
don't hesitate to contact me (github's profile email)
The maven command for Permissions 2.0 with corrected groupId:
mvn install:install-file -Dfile=Permissions.jar -DgroupId=com.nijkokun.bukkit -DartifactId=Permissions -Dversion=2.0 -Dpackaging=jar
pom.xml should also use the correct package, as above.
Your pom.xml file asks for Permissions 2.1. in readme.md, the -Dversion option should be the same.
I am using Help v0.1, Essentials build 240, GroupManager 1.0(pre-alpha-2), and some others. I get the below error message when I do /help EssentialsBan with this in the ExtraHelp.yml file:
jail:
command: togglejail
description: Jails|Un-Jails a player.
plugin: EssentialsBan
main: false
permissions: essentials.jail
home:
command: home
description: Go to your home.
plugin: EssentialsHome
main: false
/help EssentialsHome works just fine unless I add a permissions entry.
2011-03-02 23:51:57 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'help' in plugin Help v0.1
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:21)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:173)
at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:633)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:596)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:590)
at net.minecraft.server.Packet3Chat.a(SourceFile:24)
at net.minecraft.server.NetworkManager.a(SourceFile:230)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
Caused by: java.lang.NoSuchMethodError: org.anjocaido.groupmanager.GroupManager.getHandler()Lorg/anjocaido/groupmanager/permissions/AnjoPermissionsHandler;
at me.taylorkelly.help.HelpPermissions.permission(HelpPermissions.java:42)
at me.taylorkelly.help.HelpEntry.playerCanUse(HelpEntry.java:40)
at me.taylorkelly.help.HelpList.getSortedHelp(HelpList.java:79)
at me.taylorkelly.help.Lister.setPage(Lister.java:35)
at me.taylorkelly.help.Help.onCommand(Help.java:115)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
... 12 more
Not not working on 1.2.3 R0.2.
Could not load plugin.
Are you going to update ??
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.