Jump to content
  • 0

Tablisknu does not work at all


Server

Question

Hello, I recently installed Tablisknu on my 1.17 server and tried to make a tablist with it, but it fails and in console says:

java.lang.NullPointerException: Cannot invoke "us.tlatoani.tablisknu.tablist.SupplementaryTablist.disable()" because "this.supplementaryTablist" is null

Any way to fix/update?

Code from documentation:
 

command /tab:
	trigger:
		enable array tablist for player #This creates a 4 x 20 grid of tabs in the player's tablist, there is further syntax for other amounts of rows/columns
		set display name of tab 1, 1 for player to "Hello!" #This sets the first tab as "Hello!"
		set icon of tab 4, 20 for player to alex #This sets the icon of the last tab as the alex skin
		set display name of tab 4, 20 for player to "ALEX" #This sets the last tab as "ALEX!"
		loop 20 times:
			set display name of tab 2, loop-number for player to "Column 2, Row %loop-number%" #This sets all of the tabs in the second column to display their column and row
			set icon of tab 2, loop-number for player to steve #This sets all of the tabs in the second column to have a steve skin as their icon

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
7 hours ago, Server said:

Hello, I recently installed Tablisknu on my 1.17 server and tried to make a tablist with it, but it fails and in console says:

java.lang.NullPointerException: Cannot invoke "us.tlatoani.tablisknu.tablist.SupplementaryTablist.disable()" because "this.supplementaryTablist" is null

Any way to fix/update?

Code from documentation:
 

command /tab:
	trigger:
		enable array tablist for player #This creates a 4 x 20 grid of tabs in the player's tablist, there is further syntax for other amounts of rows/columns
		set display name of tab 1, 1 for player to "Hello!" #This sets the first tab as "Hello!"
		set icon of tab 4, 20 for player to alex #This sets the icon of the last tab as the alex skin
		set display name of tab 4, 20 for player to "ALEX" #This sets the last tab as "ALEX!"
		loop 20 times:
			set display name of tab 2, loop-number for player to "Column 2, Row %loop-number%" #This sets all of the tabs in the second column to display their column and row
			set icon of tab 2, loop-number for player to steve #This sets all of the tabs in the second column to have a steve skin as their icon

 

tf kind of skript plugin is this

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - Present

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...