[WEB] Show plugin permissions - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html) +--- Thread: [WEB] Show plugin permissions (/thread-2150.html) |
RE: [WEB] Show plugin permissions - NiLSPACE - 10-08-2015 That looks great RE: [WEB] Show plugin permissions - xoft - 10-08-2015 I don't think not having a permission is an error. There are commands that need no permissions. It might be a better view to actually list the permissions, and for each permission the list of commands that are affected by it. Also not sure about the per-plugin buckets needing a click before the permissions are displayed. A simple list with headers with all permissions on the page might be easier to use. RE: [WEB] Show plugin permissions - NiLSPACE - 10-08-2015 Perhaps make the headers a link? That way you can have best of both RE: [WEB] Show plugin permissions - JonnyBoy0719 - 10-08-2015 (10-08-2015, 09:15 PM)NiLSPACE Wrote: Perhaps make the headers a link? That way you can have best of both Was thinking of that actually, but I might use a Javascript code to list everything, if they want that. Just need to make sure it will orginize everything, and then make sure you can search trough the list, so you don't need to find that specific command/permission etc. (10-08-2015, 09:13 PM)xoft Wrote: I don't think not having a permission is an error. There are commands that need no permissions. I created that since some doesn't show the subcommands yet, so I created something called "HiddenCommands" which will only display for the web, and not in-game Going to re-create some bit of the code later to show sub-commands instead of using HiddenCommands. But the error will be useful if it finds nothing (if its not set to "", if they leave it blank, it will say that this command do not require any permissions), so the author have to make sure it exist (if it doesn't have any subcommands etc). RE: [WEB] Show plugin permissions - JonnyBoy0719 - 10-08-2015 Its starting to take a bit of a shape now Any ideas for subcommands tho? Also working on the main page now, so you can scroll trough every plugin permission etc (you can search by the plugin name, permission or help string). Trying to make it easier for the user as much as possible note, its currently saying users due I just copied an old code i did (its on my github under the name AMXX -- BrainBread Stats) RE: [WEB] Show plugin permissions - NiLSPACE - 10-08-2015 Awesome, this is actually worthy to have in the plugins folder by default if you'd ask me. Of course the other Cuberite members and you would have to allow it first . RE: [WEB] Show plugin permissions - JonnyBoy0719 - 10-08-2015 Bam, done-ish Just gonna do minor changes on some areas, and then update the github repo. Having this as a default plugin would be cool, and it would help a lot of people aswell RE: [WEB] Show plugin permissions - xoft - 10-08-2015 Looks better with each iteration. Now I just am not clear, what does the Add permission button do when there are multiple permissions (due to subcommands)? Also, does the plugin handle sub-subcommands? ("/ge conn list" etc.) RE: [WEB] Show plugin permissions - JonnyBoy0719 - 10-09-2015 Here is a video of the current version, pretty much shows how it works https://youtu.be/d4JWeMp3Ye4 And the github page is now updated, and it also contains the needed files for webadmin area. RE: [WEB] Show plugin permissions - NiLSPACE - 10-09-2015 Wow, I'm impressed. The only thing that you might want to change is showing a "Remove Permission" instead of no button at all. But seriously, I'm amazed that this is your first Cuberite plugin. |