-
Notifications
You must be signed in to change notification settings - Fork 6
How to change default permissions without a permissions plugin
This tutorial will tell you how to change the default permissions without a permissions plugin. This is technically a hack, however can work with all plugins (not just ships)
This requires you to be using the stand alone
(if you downloaded Ships from somewhere other then Github, its likely to be stand alone) as well as the Bukkit
edition (noted with a -b
in the download name)
if you use a dedicated host for your server, your host must allow uploading your own plugin files
You will need a program that can open up .zip
files. If your on Windows 7+ you can use the built in zip extractor, however I would recommend something else
Recommendations:
| Name | Platform | | WinRar | Windows | | 7Zip | Windows, Linux, Mac |
The first thing you need to do is extract the plugin file to show the files that make up the plugin.
To do this on Windows Zip (built into Windows 7+) is
- click the view tab at the top of explorer
- tick the box to
show file extensions
- rename the plugin file to
ShipsBukkit.zip
- Double click the renamed file
- At the top of explorer, click the
extract
button - Extract it to somewhere where you will find it
To do this on 7Zip is
- Open 7Zip
- Go to the plugin file
- open the plugin file
To do this on WinRar is
- Right click the plugin file
- Click
Open with
(If you are on Windows 11+, you may need to scroll down to the bottom and selectshow more options
) - Select
WinRar
Simply open the plugin.yml file. If you are using a proper zip extractor such as WinRar or 7Zip, you can just click the plugin.yml file directly in the program
The file may seem confusing, however the plugin.yml
file is used to tell CraftBukkit how to boot the plugin as well as all the defaults. If you scroll down to the bottom then add the following
permissions:
ships.make.ships.airship:
default: true
eco.move.own.ships.airship:
default: true
The permission node (indented with 2 spaces) is the key that Ships tells Bukkit what it wants. the default value is who has permission if there is no permissions plugin.
You can find all the Ships permissions nodes here https://dev.bukkit.org/projects/ships/pages/ships-6-page
And the default possible values are as follows
value | description |
---|---|
true | Anyone who joins the server will have the permission node |
op | Only players who are OP will gain the permission node |
not op | Only those who are not OP will gain the permission node |
false | Anyone who has permission level 1+ will gain the permission node (not typically used) |
Simply save the plugin yml
If you use a dedicated zip extractor then this will be done when you save the plugin.yml. So you can just close the program and move to the next step
- Highlight all the files and folders (including the plugin.yml)
- right click one of the highlighted files
- Select
send to
(Windows 11+ users may need to clickShow more options
) - Select
Compressed Zip
- A new file will be created
- Rename that file to
ShipsBukkit.jar
Title says it all