siryolothe2 Posted April 5, 2021 Share Posted April 5, 2021 I NEED HELP so i am running the skript #on papi placeholder request with prefix "something": # if identifier is "hello": # set result to "%{balance::%player's uuid%}%" #this is somthing else i was just trying i dont think it worked though on join: set {_p} to placeholder "gemseconomy_balance_coin" from player on join: set title of player's scoreboard to "&6&lServer Info" while player is online: set line 1 of player's scoreboard to "&7• &eOnline: &f%size of all players%" set line 2 of player's scoreboard to "&7• &eCurrent money: &f%{_p}%" wait 1 second my plugins R skbee, essentials, gemseconomy, skript, skript placeholders, placeholderapi,Tuske, luckperms and essentials chat there is no error message it just shows "<none>" one the scoreboard if any 1 know why please let me know or if you have the time just fix what i did wrong thankyou Link to comment Share on other sites More sharing options...
CoolProgrammer Posted April 5, 2021 Share Posted April 5, 2021 4 hours ago, siryolothe2 said: I NEED HELP so i am running the skript #on papi placeholder request with prefix "something": # if identifier is "hello": # set result to "%{balance::%player's uuid%}%" #this is somthing else i was just trying i dont think it worked though on join: set {_p} to placeholder "gemseconomy_balance_coin" from player on join: set title of player's scoreboard to "&6&lServer Info" while player is online: set line 1 of player's scoreboard to "&7• &eOnline: &f%size of all players%" set line 2 of player's scoreboard to "&7• &eCurrent money: &f%{_p}%" wait 1 second my plugins R skbee, essentials, gemseconomy, skript, skript placeholders, placeholderapi,Tuske, luckperms and essentials chat there is no error message it just shows "<none>" one the scoreboard if any 1 know why please let me know or if you have the time just fix what i did wrong thankyou You should only use/make PlaceholderAPI placeholders if you require information such as play time, or skript related data in an external plugin such as KiteBoard, TAB REBORN, etc. In this case, making custom placeholders isn't necessary because if you have Vault installed and enabled with GemsEconomy, you could directly use player's balance to get player's money. Also, just noticed that you tried to set a local variable in a player join event which is only available within the event, and not outside of that. If you wish to use the placeholder, do it as follows: on join: set title of player's scoreboard to "&6&lServer Info" while player is online: set line 1 of player's scoreboard to "&7• &eOnline: &f%size of all players%" # set a variable to the placeholder set {_money} to placeholder "%%gemseconomy_balance_coin%%" from player # use the variable as follows set line 2 of player's scoreboard to "&7• &eCurrent money: &f%{_money}%" wait 1 second 1 Hello there! If you're reading this, hope you're having a wonderful day! Feel free to contact me via Discord (CoolProgrammer#1920) for any help. My DMs are always open for help. You can also message via. forum messages for help. Also, don't hesitate to leave a like on my post if I helped you in any way. Link to comment Share on other sites More sharing options...
siryolothe2 Posted May 4, 2021 Author Share Posted May 4, 2021 Oh My gosh thanks sooo much cool programer 1 Link to comment Share on other sites More sharing options...
siryolothe2 Posted May 10, 2021 Author Share Posted May 10, 2021 @CoolProgrammer nvm doest work sad Link to comment Share on other sites More sharing options...
CoolProgrammer Posted May 10, 2021 Share Posted May 10, 2021 On 5/4/2021 at 10:08 PM, siryolothe2 said: Oh My gosh thanks sooo much cool programer No problem. 3 hours ago, siryolothe2 said: @CoolProgrammer nvm doest work sad It might be because you haven't installed the GemsEconomy PlaceholderAPI expansion. Or even if you have, it might have got reset after your server was hibernated. This is a known bug on Minehut, and is being worked on. This is how I fix it using Skript: enable: console command "papi ecloud download GemsEconomy" wait 2 seconds console command "papi ecloud download Vault" wait 2 seconds console command "papi reload" In-case you are talking about the scoreboard not working: If by any chance, you have skRayFall installed, go to /plugins/skRayFall/config.yml and change the enableFastScoreBoards option to false. Once that's done, restart your server and the scoreboard should work. P.S. I'm still not sure what the problem is, can you tell me what's wrong and what doesn't work? Hello there! If you're reading this, hope you're having a wonderful day! Feel free to contact me via Discord (CoolProgrammer#1920) for any help. My DMs are always open for help. You can also message via. forum messages for help. Also, don't hesitate to leave a like on my post if I helped you in any way. Link to comment Share on other sites More sharing options...
siryolothe2 Posted May 10, 2021 Author Share Posted May 10, 2021 Ok i did what you said also i switched to normal essentials eco and just changed the placeholder so i am running on join: set title of player's scoreboard to "&6&lServer Info" while player is online: set line 1 of player's scoreboard to "&7• &eOnline: &f%size of all players%" # set a variable to the placeholder set {_money} to placeholder "%%essentials_worth%%" from player # use the variable as follows set line 2 of player's scoreboard to "&7• &eCurrent money: &f$%{_money}%" wait 1 second and on the scoreboard it is just displaying <none> even though i know i have money please help if you can siryolothe2 Link to comment Share on other sites More sharing options...
siryolothe2 Posted May 10, 2021 Author Share Posted May 10, 2021 @CoolProgrammer Link to comment Share on other sites More sharing options...
siryolothe2 Posted May 10, 2021 Author Share Posted May 10, 2021 wait now its displaying 2.5 but it doesnt seem to matter what my actual bal is Link to comment Share on other sites More sharing options...
siryolothe2 Posted May 10, 2021 Author Share Posted May 10, 2021 its fluctuating its now at 0.5 Link to comment Share on other sites More sharing options...
siryolothe2 Posted May 10, 2021 Author Share Posted May 10, 2021 but i havnt changed my bal Link to comment Share on other sites More sharing options...
siryolothe2 Posted May 10, 2021 Author Share Posted May 10, 2021 its now at 4 @CoolProgrammer Link to comment Share on other sites More sharing options...
siryolothe2 Posted May 10, 2021 Author Share Posted May 10, 2021 nvm im stupid its displaying the worth of the item im holding hahahahahaha sorry im soo stupid Link to comment Share on other sites More sharing options...
CoolProgrammer Posted May 11, 2021 Share Posted May 11, 2021 9 hours ago, siryolothe2 said: Ok i did what you said also i switched to normal essentials eco and just changed the placeholder so i am running on join: set title of player's scoreboard to "&6&lServer Info" while player is online: set line 1 of player's scoreboard to "&7• &eOnline: &f%size of all players%" # set a variable to the placeholder set {_money} to placeholder "%%essentials_worth%%" from player # use the variable as follows set line 2 of player's scoreboard to "&7• &eCurrent money: &f$%{_money}%" wait 1 second and on the scoreboard it is just displaying <none> even though i know i have money please help if you can siryolothe2 You have to install the Essentials PlaceholderAPI expansion for it to work. Do the following commands: -> /papi ecloud download Essentials -> /papi reload That should work. You can also use Vault instead of Essentials. -> /papi ecloud download Vault -> /papi reload And then use %vault_eco_balance%. 1 Hello there! If you're reading this, hope you're having a wonderful day! Feel free to contact me via Discord (CoolProgrammer#1920) for any help. My DMs are always open for help. You can also message via. forum messages for help. Also, don't hesitate to leave a like on my post if I helped you in any way. Link to comment Share on other sites More sharing options...
siryolothe2 Posted May 11, 2021 Author Share Posted May 11, 2021 (edited) 11 hours ago, CoolProgrammer said: . Edited May 11, 2021 by siryolothe2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now