Help Pages
Have you ever wanted to be able to customize /help with ease? Now you can!
Just make a file with the text, and you're good to go!
- Download the plugin
- Put it in your folder
- Run the server once
- Make a file in the HelpPages/Pages/ folder called Main.txt
- This is the main help file. You can now add whatever you want in it. If you want more files for more arguments, follow these steps
- Check the argument you want. Such as /help donor somerank.
- Make the file donor_somerank.txt in the HelpPages/Pages/ folder. Again, just put whatever you want in it.
- The underscore ( "_" ) represents a space in the command. So a file called "i_love_this_server.txt" would need the "/help i love this server" command.
To reload do /helpreload. This requires the helppages.reload permission.
2.0 has REVAMPED permissions! How do they work you may ask? Here's how.
Depending on which folder you put the text file into, that's your permission. So let's say you have two folders. One for op the other for default. If default doesn't have the op permission, it will open the first one. Since op has both permissions, it will open one of them (eh.. I should change this haha). So if the player has the permission on the folder, they can read the page!
@TheCoolGuy123_5_Minecraft_
Your Main.txt file?
Well, I this kind of thing where Name...... &8/warp [place] but when I paste it here it's not in the order where &8 is a straight line down and this is what I get: http://imgur.com/FRtszuf
Weirdly not getting emails about this.
Like if I have like helppages.members.Main and do not have helppages.page.main, I get the member's main page, but if I have both... [Something]
The folder idea for Main.txt for a rank would ya, probably be Pages/<Rank>/Main.txt
and keep the normal one. That's what I want it to be like.
@TheCoolGuy123_5_Minecraft_
Thats a interesting idea. As I don't want to hook into vault, I would probably just have folders like:
Pages/Members/Main.txt Pages/default/Main.txt
And the perm would be like helppages.members.<page>, and it would show the one the player has the correct permission for.
Kinda like that?
Ah, didn't know that. For the main page is it helppages.page.main because that didn't work, so I gave the full perms. Also, could you make it so like if your rank X you see this help screen, instead of the default?
So like Members see all the members perms/job, but default just see theirs kinda way.
Edit: I didn't look good enough to see that... lol
@TheCoolGuy123_5_Minecraft_
"Best thing is, you don't even need to reload anything! Just edit the file, and it is instantly updated."
It doesn't need one, as unlike with config.yml, it grabs the files on command, not when the plugin starts/reloads the config.
Can you add a reload command?
@Dronaman
What are you saying..
LET US HAVE A COMMAND TO ENABLE OR DISABLE
EVEN THOUGH I CAN UPLOAD PLUGINS TO MY FRIENDS SERVER
DOESN'T MEAN THAT I CAN ALTER THEM
PLEASE
@fisherman77
Of course!
I should add it to the post.
Can you use color codes, like "&aTitle"?
Currently working on the in game page designer, also the ability to use multiple arguments.
Nice! :)