#Deluxe menu anvil gui with input text

1 messages · Page 1 of 1 (latest)

tropic cypress
#

Hi ! I try make a anvil gui with player input text. So I can save that input text from player for example player can customize thier prefix using luckperm so I want a command like this /lp user %player-name% meta setprefix %input_text%

round python
tropic cypress
#

Didn't working 😦 I already enabled Enable-Unsafe
my command - '[console] lp user %player_name% meta setprefix 100 <-a &6&lPrefix{br}&bPrefix Test>'
it set my prefix to <-a

#

testing outside still working

round python
#

what's your DeluxeMenus version?

tropic cypress
#

I using 1.13.5 version

round python
#

I'll try

tropic cypress
round python
#

what's your server's MC version?

tropic cypress
#

I using paper 1.16.5

round python
#

ah

#

because I'm using 1.19.2 and got an error with the AnvilGUI because the plugin wasn't updated for that, so I assumed you had that too

#

though, do you get an error in console?

tropic cypress
round python
#

uh

#

does it work if you remove the -a ?

tropic cypress
#

I just follow the sample one in SpigotMC

#

I will try it later

tropic cypress
#

Still not work either

ancient dagger
#

still setting to <-a?

#

might be able to fix it if you surround the prefix in "" judging by what I can see on the wiki

#

- '[console] lp user %player_name% meta setprefix 100 "<-a &6&lPrefix{br}&bPrefix Test>"'

tropic cypress
ancient dagger
#

Ah, what is the <-a> part supposed to do?

#

Oh that’s part of commandprompter right

green pecanBOT
#
FAQ Answer:

Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.

ancient dagger
#

Ohhh wait I see the issue

#

You’re running it as a console command

#

You have to run it as a player command so the player can get the anvil gui to write the response