MyHelpPages

Description
Define your own custom /help pages using this plugin.
Configure help pages in the pages file.
Set up custom Messages in the config file.
Give players permissions to certain pages.
Screenshots
Here is a screenshot showing the server's console window on the bottom right side,
the pages.yml file on the bottom left side and the ingameview on the top.
You can see the command that is being executed. And what the configuration looks like.

Features
- Make your own help commands that show custom text
- Permission node for all pages (
myhelppages.allpages) - Permission node per help page (
myhelppages.help-example-pagein small letters)
/help -reloadTo reload the config and page files/help -list [list number]To list all pages you have permission for
- Some custom messages
- Able to use colors
- Able to use variable
%page%in all messages. Will be replaced with the page name.
How to install
- Download the latest version here.
- Place it in the
pluginsfolder - Restart/reload the server.
- The default
config.ymlandpages.ymlfiles will be created inplugins/MyHelpPages.
Commands and Permissions
| Command | Description | Permission |
|---|---|---|
/help -reload | Reload the config.yml & pages.yml file | myhelppages.reload |
/help -list | List all pages you have permission for | myhelppages.list |
/help/help example page | Show a custom help page Keep the corresponding permission in small letters! | myhelppages.helpmyhelppages.help-example-pagemyhelppages.allpages |
Configuration
Colors
You can use colors in the text. For example: %red% means the following text will be red.
The colors are: aqua, black, blue, darkaqua, darkblue, darkgray, darkgreen, darkpurple, darkred, gold, gray, green, lightpurple, red, white, yellow, magic
Pages
The name of the page can be a number or text, it doesn't matter.
For example:
| If you want the command... | the page name in would be... | and the permission would be |
|---|---|---|
/help Example Page | help-Example-Page | myhelppages.help-example-page |
Custom Messages
You can specify some custom messages (config.yml):
noPagePermission- When the player does not have permission for the specified help page.
pageNotFound- When the player specified a non-existing help page.
pageTitle- The first line of every help page.
You can use the variable %page% anywhere. It will be replaced with the actual page name.
You have to be careful in the text, with characters like -, : and '. If you want to use them, surround the text with ' '.
Are you overwhelmed by all the dashes, semicolons and quotation marks?
Download this excel file, by jellewie. (Thanks!)
Type your text on one side, and copy the code from the other side.
And this is a useful tool, to see if your file has any errors!
Versions
- Version 1.5.1
- Tested with CB 1.5.1 Beta 0.1
- Version 1.4.2
- Tested with CB 1.4.5 r0.2
- Code cleanup
- ConnectCraft is now supporting this Plugin too!
- Version 1.4
- Tested with CB 1.3.1-R1.0
- Code cleanup
- Added /help ? (for command list)
- Version 1.2
- Tested with CB 1.1-R4
- Added support for chat color %magic%.
In fact, When there are new colors, the plugin should automatically support them - Added support for longer page names,
like help-me-getting-started would be /help me getting started - Allowing %page% variable in all text. Not just the ones in the messages section
- Version 1.1
- Fixed colors, use for example %red% instead of $c
- Version 1.0
- Release
- Colors not working properly
Source code
Tutorials
You might want to look here for a German Tutorial:
-
View User Profile
-
Send Message
Posted Feb 22, 2012@WayGroovy
Actually I already got it :)
I just havent done it for this plugin yet.
I made this plugin a while back. So I'm a bit ashamed of the code. :P
I might update it one more time, before I put it on github...
-
View User Profile
-
Send Message
Posted Feb 22, 2012github is a pain to learn if you don't have a clue what you're doing... I'm attempting to use it for my project, and not getting very far. I finally got Eclipse pushing to Github after finding some EGit plugin video tutorial on youtube
-
View User Profile
-
Send Message
Posted Feb 13, 2012@Mtihc
Gasp. The shame.
-
View User Profile
-
Send Message
Posted Feb 13, 2012I wish I knew how github worked.
Why does it have to be so complicated?
-
View User Profile
-
Send Message
Posted Feb 13, 2012the last version of the helpage editor (i dont update it annymore)
https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B5IOdFVBhVS5N2Y1OGVmYzktMGZlMC00NzY3LThjZWEtOTljMmVkOTEyZjUw
-
View User Profile
-
Send Message
Posted Feb 13, 2012@Mtihc
it's the space before! (see under)
- '%red%Change these lines,'
- '%red%Change these lines,'
@Psithief: just do it?, the YLM ignore the spaces?
-
View User Profile
-
Send Message
Posted Feb 12, 2012I used to use MyHelpPages, but it stopped working on me. It was simple, easy to use, easy to configure... I wish you would release source on git. I'd be willing to wager that someone will take up development if you do.
-
View User Profile
-
Send Message
Posted Feb 12, 2012@Mtihc
Could you maybe release the source so that someone else might take this up?
-
View User Profile
-
Send Message
Posted Feb 11, 2012@jellewie
I'm afraid I will not be updating this plugin any time soon. If i ever will
-
View User Profile
-
Send Message
Posted Feb 11, 2012@Psithief
Call me crazy, but i dont see the difference
-
View User Profile
-
Send Message
Posted Feb 11, 2012@Psithief
The list is on this page. You just have to look a little better.
Here they are
aqua, black, blue, darkaqua, darkblue, darkgray, darkgreen, darkpurple, darkred, gold, gray, green, lightpurple, red, white, yellow
-
View User Profile
-
Send Message
Posted Feb 11, 2012There's no list of all the supported colours? Aqua instead of cyan? :( Here's the list I made from trial and error. 0x0 through 0xF
-
View User Profile
-
Send Message
Posted Feb 11, 2012I find this really really bizarre.
Why like this:
pages:
help:
- '%red%Change these lines,'
- '%red%in the config file.'
- '%red%This page comes up when you type /help'
help-1:
- '%red%Change these lines,'
- '%red%in the config file.'
- '%red%This page comes up when you type /help 1'
help-2:
- '%red%Change these lines,'
- '%red%in the config file.'
- '%red%This page comes up when you type /help 2'
help-example:
- '%red%Change these lines,'
- '%red%in the config file.'
instead of like this:
pages:
help:
- '%red%Change these lines,'
- '%red%in the config file.'
- '%red%This page comes up when you type /help'
help-1:
- '%red%Change these lines,'
- '%red%in the config file.'
- '%red%This page comes up when you type /help 1'
help-2:
- '%red%Change these lines,'
- '%red%in the config file.'
- '%red%This page comes up when you type /help 2'
help-example:
- '%red%Change these lines,'
- '%red%in the config file.'
The second example makes so much more sense!
-
View User Profile
-
Send Message
Posted Feb 5, 2012can you make it posible that you can edit /rules and /plugins on the same whay?
-
View User Profile
-
Send Message
Posted Feb 5, 2012This is also useful: http://yaml-online-parser.appspot.com/
To see if your code has any errors
-
View User Profile
-
Send Message
Posted Feb 1, 2012@jellewie
Nice
-
View User Profile
-
Send Message
Posted Feb 1, 2012@Mtihc
All versions of MyHelpPage_Editor: https://docs.google.com/open?id=0B5IOdFVBhVS5MjZlY2IxNmQtNThhYi00YTAwLThiYjYtMWNjZmNhMjhkMzY1
MyHelpPage_Editor_V1.3 https://docs.google.com/open?id=0B5IOdFVBhVS5Yzg4ZDczNTItMDUzYy00NTA3LTg2ZDktODA4OGE4Yzg4ZGZk
-
View User Profile
-
Send Message
Posted Feb 1, 2012@Mtihc
see you PM
-
View User Profile
-
Send Message
Posted Feb 1, 2012@jellewie
Oh haha, got it
-
View User Profile
-
Send Message
Posted Feb 1, 2012@Mtihc
Probably because i got edit it XD