#deluxemenus
1 messages · Page 1 of 1 (latest)
it can be done with giving all island members the permission but i don't see how you will get automaticly all player names from the island
Does BentoBox not have placeholder telling you what upgrades the island a player is non has or does not have?
Also, what exactly is an upgrade? I am not familiar with Boxed and I can't find anything about it on the wiki
But here's a list of their placeholders: https://docs.bentobox.world/en/latest/gamemodes/Boxed/Placeholders/
i mean there is %boxed_island_protection_range%
and
%boxed_island_protection_range_diameter%
that tells you what range is your border there is addon for upgrade but its so bad you cant modify it for upgrades i use boxadmin range set <range>
Ok. What I'm trying to understand is exactly what do you mean by an upgrade. When someone upgrades their island, you are basically just increasing the range?
yes
Alright. Do you have a menu started so far so I can add an example to it?
There are a few issues with your menu:
- Whatever
global_view_requirementis, it does not exist. So that won't do anything update_interval: 10goes at the top of the menu, not under an itemtype: "!and"does not exist, that view requirement won't do anythingtype: "placeholder"does not exist, those requirements won't do anything
and so on. This menu is very very broken and looks AI generated to me.
I am not going to waste my time fixing the bullshit AI generates. What I am going to do, is suggest you go take a look at our wiki: https://wiki.helpch.at/helpchat-plugins/deluxemenus AND, I will give you an example item that you can take and try to addapt to your menu:
upgrade_1:
material: dirt
display_name: "&7UPGRADE to RANGE 2"
slot: 0
view_requirement:
requirements:
is_less_than_2:
type: "<"
input: "%boxed_island_protection_range%"
output: 2
click_requirement:
requirements:
is_less_than_2:
type: "<"
input: "%boxed_island_protection_range%"
output: 2
money:
type: "has money"
amount: 2500
click_commands:
- "[takemoney] 2500"
- "[console] boxadmin range set %player_name% 2"
- "[refresh]"
This example will do the following:
Upgrade the island range to 2 and take 2500 from the player, only if:
- The island range is lower than 2
- The player has enough money (2500)\
idk if this is ai generated my friend did that gui but thank for the help