How do I add permissions and ranks?
#2
Hello, welcome to the forum.

Okay, three separate problems.
First, the webadmin. I suppose you just opened the "webadmin" folder on the disk and clicked random files in it. That's not how it works. You need to edit the webadmin.ini file next to MCServer.exe, it defines on what port the webadmin is running and what users are allowed to use it. It has a description at the top, you should be able to follow it. Then you run the server and use the browser to go to "http://localhost:8080" (change the number after the colon to the port number you specified in webadmin.ini, 8080 is the default).

Second, the ranks and permissions:
In MCServer, you assign ranks to players. Each player can have only one rank. The rank defines , among other things, the groups of permissions that the players can use. Each permission group is just that - a group of permissions that has been assigned a name. You can reuse the same permission group in several ranks, and each rank can have multiple permission groups.

So, let's say you want to add the (imaginary) permissions "myplugin.permission1" and "myplugin.permission2" to players in the "Default" rank. The best course of action is to add a new permission group, using webadmin's Core -> Permissions page. Enter the name "myplugin" at the edit box and press the "Create", the group will be created; return to the group list, locate the group (it will most likely be at the bottom) and press the "Add permissions" button next to it. Add each one the permissions using the editbox and button on the next page.
Next, go to the Core -> Ranks page, and click the "Edit groups" button next to the "Default" rank. Select the "myplugin" group and click "Add group".

Your second problem is with SSL certificates. By default the webadmin uses the unsecure HTTP protocol - that is good enough for home use, but if you want to manage a server running at a hosting, you will need the secure HTTPS protocol. For that, you need a SSL certificate (the server says so in the log when it starts up). You can either buy a signed certificate from a certificate authority, or create a self-signed one (the browsers will display a warning if you do that), using the GenerateSelfSignedHTTPSCertUsingOpenssl.cmd script file. However, in order for script to work, you need to install OpenSSL first.
Reply
Thanks given by:


Messages In This Thread
How do I add permissions and ranks? - by skywindz - 04-13-2015, 01:57 PM
RE: How do I add permissions and ranks? - by xoft - 04-13-2015, 04:34 PM
RE: How do I add permissions and ranks? - by xoft - 04-13-2015, 10:39 PM
RE: How do I add permissions and ranks? - by xoft - 04-13-2015, 11:48 PM



Users browsing this thread: 3 Guest(s)