With this plugin you will be able to automatically place GUIs from AdvancedGUI in SuperiorSkyblock2 islands differentiating between schematics and worlds (overworld, nether and the end).
How to install:
Download the jar.
Drop the jar in the plugins folder.
Restart the server.
Commands:
/setguilocation <Layout> - Main command, used to register where the GUIs will appear. Execute on an island and follow instructions. (See How to use:)
/cancel - Cancel the register. (Started by the previous command)
/removeguis - Removes all the GUIs related to islands.
In order to execute any of the previous commands you will need the permission:
skyblockagui.admin
How to use:
Before creating any island,
you must modify the first options section after the server restarts and the configuration is generated. If the server isn't very big, You can probably keep all the default values.
Next, you will have to add the names of all the schematics in which you will like the plugin to act. By default you will see normal and desert:
Code (YAML):
schematics: -
"normal" -
"desert"
Then
restart the server after finishing the config modifications.
Lastly, go to any island already generated that uses the desired schematic. In that island, search the place where you want the GUIs to appear, and place an item frame on the top left corner and the bottom right corner, as shown in this image:
Once you have both item frames, execute the command
/setguilocation <Layout> , replacing <Layout> with the name of the layout you want to use.
Then, right-click the top
left item frame. You will get a message saying that the first position is registered. Then-right click on the
right one. And thats it.
The GUI should be generated and from now on, each time an Island is created the GUI will be placed. (Or under other circumstances, as determined by the first section of the config)
Examples:
Code (YAML):
# General options. # Options: # Change the radius from the GUIs placed on the islands. (Not recommended to use big values (>8)) activation_radius: 6
# Use this option to change all the blocks behind the GUI every time the GUI is loaded. replace_blocks:
enabled: true
material: STONE
# Every time the GUI is loaded it will remove every block (And residual frames) that are in the screen (E.g. in case the player pushes a block with a piston) remove_screen_blocks: true
# Enables the dynamic placing. If you disable it, the plugin will only place the GUIs and they'll stay permanently. # If you want to change this setting use /removeguis to remove all the permanent GUIs related to islands. dynamicPlacing:
enabled: false
# Modes available: # 0 = Places the GUI if anyone is on the island. # 1 = Only summons the GUI if there's any member on the island (Ignoring visitors) # 2 = Only if the owner of the island is on the island # 3 = Places the GUI if a member of the island is online mode: 2
# All the schematics that will be affected. schematics: -
"normal" -
"desert"
# Information on the GUIs attributes and relative position # # Modify this values manually or with the command /setguilocation <Layout> (command recommended) GUIs: # Schematic name normal: # Type of world in which the GUI settings will apply. overworld: # Place GUI? If its set to false no GUI will be placed. enabled: true
# Offset of the GUI from the center of the island. # Recommended using the command /setguilocation <Layout> offset:
x: 12
y: 3
z: 3
# Orientation of the GUI. (Also recommended using the command) facing: west
# Layout that will be used. layout: "SuperiorGUI" # height of the layout height: 3
# width of the layout width: 5
nether:
enabled: false
offset:
x: 1
y: 15
z: 5
facing: north
layout: "GUInether" height: 3
width: 2
the_end:
enabled: false
offset:
x: 1
y: 13
z: 3
facing: south
layout: "GUIend" height: 2
width: 4
# Example using other schematic. desert:
overworld:
enabled: false
offset:
x: 12
y: 5
z: 2
facing: west
layout: "desertGUIoverworld" height: 3
width: 5
nether:
enabled: false
offset:
x: 10
y: 5
z: 23
facing: north
layout: "desertGUInether" height: 3
width: 2
the_end:
enabled: false
offset:
x: 3
y: 6
z: 23
facing: south
layout: "desertGUIend" height: 2
width: 4
You can send me a DM to get support, although a quick response is not guaranteed. Bounser#6589 (English or Spanish)