Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment source and Subhelps #4

Open
txomon opened this issue Mar 24, 2011 · 0 comments
Open

Comment source and Subhelps #4

txomon opened this issue Mar 24, 2011 · 0 comments

Comments

@txomon
Copy link

txomon commented Mar 24, 2011

Hi,

I have been reviewing your source code and tried your plugin and has some ideas:

  • Making comments to your code, so that is more readable.
  • Organize better the configuration file, I would propose something like this:

*** 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant