#superiorskyblock2 upgrades gui

1 messages · Page 1 of 1 (latest)

inland swift
#

trying to create a gui that has around 600+ upgrades for superiorskyblock2 having isues after issues doing so ive tried with superior and deluxe no luck any help i can get would be amazing!!!!!!

inland swift
#

using this the item dont show

lunar sinewBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
HelpChat Paste - How To Use

wide lake
#

send the menu

wide lake
#

hmm looks a bit different from earlier

inland swift
#

ya trying so many different things

wide lake
#

/papi parse me %superior_island_upgrade_upgrade-3%

#

what does that return

#

/papi parse me %superior_island_upgrade_upgrade-1%
what does this return this

#

so we can do upgrade 1 first

inland swift
#

says just 1

#

in chat

#

if i do /papi parse me %superior_island_upgrade_upgrade-3% it says 2

wide lake
#

so it returns the level of the upgrade

#

upgrade-1 and upgrade-3 are completely different upgrades, right?

inland swift
#

yes

wide lake
#

okay so in slot 0 can you explain what you want to see when you:

  • don't have upgrade-1
  • don't have, but can buy
  • do have upgrade-1
inland swift
#

this is the upgrades modual for superior skyblock

wide lake
#

just curious, what is the warning message?

#

does that happen before you rankup to the next tier?

#

pretty cool way to configure

inland swift
#

sorry wrong tag

wide lake
inland swift
#

1 is defalt

wide lake
#

i feel you don't need to return the level

#

or check it

young snow
#

I thought <upgrade> is upgrade name

wide lake
#

just check the permission

inland swift
wide lake
#

check if the player has the superior.island.upgrade-1 permission

inland swift
#

so im trying to do it without the perm i made the perms and have them rn for testing

wide lake
#

oh, I thought the perms is why you separated all the upgrades

#

but I don't really know how it works

#

looking at the documentation, i feel all 50 levels should be 1 "upgrade"

inland swift
#

no was doing that befor but decided to go a diferent way

wide lake
#

ah

young snow
wide lake
#

so if the output is 2

#

you have the upgrade?

inland swift
wide lake
#

if upgrade-2 is level 2, is upgrade-1 still level 2?

#

or is it level 1

inland swift
young snow
#

I think its the second one

wide lake
#

can you do it

#

and tell me?

inland swift
#

so upgrade 1 is level 1 upgrade 2 is level 2

#

and so on

young snow
wide lake
#

no

inland swift
#

my head hurts so much im a noob at this

wide lake
#

that's not true

#

look at your upgrades

#

upgrade-1 has only 1 level

#

the price is 0.0

inland swift
#

right

wide lake
#

upgrade-2 has 2 levels

#

1 is price 100000.0

#

level 2 is price 0.0

#

then upgrade-3 has 2 levels

#

and so on and so forth

#

I feel it should all be one upgrade

#

and each level does what you want

#

like the example on the wiki

inland swift
#

right that so it knows when you have fin the upgrade

wide lake
#
upgrades:
  island-generators:        # The name of the upgrade.
    '1':                    # The first level of the upgrade.
      <to-do>
    '2':                    # The second level of the upgrade.
      <to-do>
inland swift
#

so this is the default menu for the superiorskyblocks2 but it wont work for how i want it you cant do more then 1 page for the menus and i want 600+ upgrades

#

this is the upgraded one i made for it but it wont work because of the issue of only one page my bad

#

thats y i need to use deluxemenus

wide lake
#

you want 1 item per level?

#

like, 1 slot per level?

inland swift
#

yes

wide lake
#

well, I think you can do that with having them all as 1 upgrade

#

since it's not tied to superiorskyblock2's gui

inland swift
#

so upgrade 1 slot 0 upgrade 2 slot 1

wide lake
#

then your requirement for each item would just be checking the level of the ugprade and comparing it

inland swift
#

if needed i can have you join the server so you can see the look im going for

wide lake
#
type: '>'
input:  '%superior_island_upgrade_upgrades%'
output: '1'
#

multiple items per level

#

checking >, ==, and <

inland swift
#

that didnt work

wide lake
#

did you already combine them into one upgrade called upgrades?

#

O.o

young snow
#

Yeh, it should be the same name

inland swift
#

brain dead

#

ummm

wide lake
#

gonna take a lot of work lol

inland swift
#

yes

#

it is

wide lake
#

maybe do like 10 levels

#

for now

inland swift
#

'4':
material: STONE
slot: 1
priority: 2
display_name: '&5Island Upgrade &b2'
lore:
- '&5&l PERKS!'
- '&d&l| &bOre GenTier: I'
- '&d&l| &bMax Robots Placed: 2'
- '&d&l| &bSell Multiplier: +0.00x'
- '&d&l| &bMax Island Members: 5'
- '&d&l| &bCrop Sell Multiplier: 1.00x'
- '&d&l| &bCrop Growth: 0.00x'
- '&d&l| &bSpawner Speed: 1.00x'
- '&d&l| &bRed Stone Limit: 10'
- '&d&l| &bMax Hopper Limit: 50'
- '&d&l| &bIsland Size: 50x50'
view_requirement:
requirements:
Upgrade-1:
type: '>='
input: '%superior_island_upgrade_upgrade-3%'
output: '2'
left_click_commands:
- '[close]'

#

this is what im trying to get to work rn if i can get this to show i should be able to make it work right so i need it to know what level so is upgrade-1 or upgrade-2 so on im on so it knows if the player can unlock the next level or not

wide lake
#

all upgrades will be under upgrades

#

each level will do it's own thing

#

each slot will have 3 items

#

they all do the same exact thing

#

they compare the current level of upgrades for the island using the %superior_island_upgrade_upgrades% placeholder

#

1st item will check if the current level is < the level for the slot
2nd item will check if the current level is == to the level for the slot
3rd item will check if the current level is > the level for the slot

inland swift
#

sooo would that just be all one slot or would it look the way i want it to

wide lake
#

if it's < that means it is locked

#

if it is == I believe that means they can buy it if I'm not mistaken

#

if it's > that means they bought it

#

you may or may not have to check if it's == to current slot minus 1 (using math expansion)

#

depending on how the placeholder works

wide lake
inland swift
#

ohh ok

inland swift
wide lake
inland swift
#

ok one min

young snow
#

I just thought <upgrade> as a upgrade name

#

And you give us two different upgrade name :L

wide lake
#

is level 1 really free?

#

like, do they have to purchase it still?

#

this is what i got @inland swift

wide lake
#

check what i did

#

had to change the command too

wide lake
#

extra " line 56

#

mb

#

maybe 4 items per slot

inland swift
#

ok fixed line

wide lake
#

notyet, cantbuy, canbuy, bought

#
items:
  '1-locked': #obviously doesn't make sense for level 1, but just example
    priority: 4
    view_requirement:
      requirements:
        level:
          type: '<'
          input: '%superior_island_upgrade_upgrades%'
          output: 1
  '1-cantbuy':
    priority: 3
    view_requirement:
      requirements:
        level:
          type: '=='
          input: '%superior_island_upgrade_upgrades%'
          output: 1
  '1-canbuy':
    priority: 2
    view_requirement:
      requirements:
        level:
          type: '=='
          input: '%superior_island_upgrade_upgrades%'
          output: 1
        has_money:
          type: has money
          amount: 100000
          deny_commands:
          - '[message] not enough money'
  '1-bought':
    priority: 1
    view_requirement:
      requirements:
        level:
          type: '>'
          input: '%superior_island_upgrade_upgrades%'
          output: 1
young snow
#

I'm recommended using 1 slot, because you just need to make 600 items like you said

wide lake
#

i would too

young snow
#

If you do like CJ said, you need to make 2k4 items

wide lake
#

but they did want 1 slot per level

#

so you can kind of visualize it

#

you feel accomplished the more pages you filled with green stained glass 🙂

inland swift
#

lmao

wide lake
#

600 upgrades is crazy

#

but

#

hey

young snow
#

I made almost 1k8 items in daily reward menu

wide lake
#

don't worry, it's pages so each menu only 220 items or so

#

prob little less

#

🙃

inland swift
#

hey its going to be fun

young snow
inland swift
#

so this?

inland swift
inland swift
#

or did i f it

young snow
#

If cantbuy and canbuy not have different lore, so you just need 1 of them, and a click_requirement

young snow
#

@inland swift can you paste the cantbuy here? I'm using mobile phone so can't copy your config

inland swift
#

so now the menu wont open

#

yea

#

'1-cantbuy':
priority: 3
view_requirement:
requirements:
level:
type: '=='
input: '%superior_island_upgrade_upgrades%'
output: 1

inland swift
#

ohh wait one sec

#

'2':
material: DIRT
slot: 0
priority: 3
display_name: '&5Island Upgrade &b1'
lore:
- '&5&l PERKS!'
- '&d&l| &bOre GenTier: I'
- '&d&l| &bMax Robots Placed: 2'
- '&d&l| &bSell Multiplier: +0.00x'
- '&d&l| &bMax Island Members: 5'
- '&d&l| &bCrop Sell Multiplier: 1.00x'
- '&d&l| &bCrop Growth: 0.00x'
- '&d&l| &bSpawner Speed: 1.00x'
- '&d&l| &bRed Stone Limit: 10'
- '&d&l| &bMax Hopper Limit: 50'
- '&d&l| &bIsland Size: 50x50'
view_requirement:
requirements:
level:
type: '=='
input: '%superior_island_upgrade_upgrades%'
output: 1

#

ok got it to open now

young snow
#
'2':
    material: DIRT
    slot: 0
    priority: 3
    display_name: '&5Island Upgrade'
    view_requirement:
      requirements:
        level:
          type: '=='
          input: '%superior_island_upgrade_upgrades%'
          output: 1 click_requirement:
  requirements:
    'has money':
      type: has money
      amount: 100000
      deny_commands:
        - '[message] not enough money'
#

Like so, please put click_requirement in right place

#

So you just need it instead cantbuy and canbuy

inland swift
#

so its saying upgrade has been bought but obvi it hasnt i reset the is

inland swift
#

i removed it for now

#

just for testing

young snow
#

Ah, the first item just a begin item, so you just need to make 1k2 items :L

inland swift
#

lol if we can get the first 2 upgrades working right ya ill have alot to do

young snow
#

Decrease a half fingerguns

inland swift
#

i like 600 tho

young snow
#

Display in 1 slot "save" your life 👍🏼

inland swift
young snow
wide lake
#

please no

inland swift
#

CJ it broken

young snow
inland swift
#

locked can cant and bought dont change at all it saying it bought

young snow
#

Give config

inland swift
young snow
#

What is the placeholder return

inland swift
#

/papi parse me %superior_island_upgrade_upgrades% comes back as 1

inland swift
#

and then 3 and so on when you upgrade

young snow
#

So make it turn into 2

inland swift
young snow
#

What do you mean how ?

#

You must know the command to make it upgraded

inland swift
#

ya sorry now 2

#

still saying bought

young snow
#

Slot 1 ?

inland swift
#

ya

young snow
#

Why name and type stay at same column

inland swift
#

just testing

young snow
#

I'm go to sleep, do it yourself

inland swift
young snow
#

Just config like normal

#

Don't test anything about framework