RoustyTousty Posted February 26, 2021 Share Posted February 26, 2021 (edited) Hello so i have this block regen script that regens the blocks and gives player exp the problem is that every time some one mines the block every one that has op will receve it in chat. Is there a better way to do this so it dosnt flod the chat for staff. (is there a better way to give players xp?) on mine of coal ore: execute console command "/experience add %player% 5" set event-block to bedrock wait 15 seconds set event-block to coal ore Edited February 26, 2021 by RoustyTousty Link to comment Share on other sites More sharing options...
CoolProgrammer Posted February 26, 2021 Share Posted February 26, 2021 Hey there. Have a look at this: on mine of coal ore: give player 5 experience set event-block to bedrock wait 15 seconds set event-block to coal ore So basically, skript has an in-built expression give %player[s]% %integer% experience which will give the player experience points. You don't have to worry about the default minecraft command feedback anymore (The one which says [Console: Blah Blah])! 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...
colorblindcolin Posted February 26, 2021 Share Posted February 26, 2021 (edited) 1 hour ago, RoustyTousty said: Hello so i have this block regen script that regens the blocks and gives player exp the problem is that every time some one mines the block every one that has op will receve it in chat. Is there a better way to do this so it dosnt flod the chat for staff. (is there a better way to give players xp?) on mine of coal ore: execute console command "/experience add %player% 5" set event-block to bedrock wait 15 seconds set event-block to coal ore add 5 to exp of the player This will add XP directly with Skript. Edit: Sorry for the duplicate response, CoolProgrammer uploaded his at the same time lol Edited February 26, 2021 by iOmega__ –––––––––––––––––––––––––––––––––––––––––––––––––– Please leave a reaction if my assistance was satisfactory! Link to comment Share on other sites More sharing options...
RoustyTousty Posted February 26, 2021 Author Share Posted February 26, 2021 50 minutes ago, iOmega__ said: add 5 to exp of the player This will add XP directly with Skript. Edit: Sorry for the duplicate response, CoolProgrammer uploaded his at the same time lol Thank u so much Link to comment Share on other sites More sharing options...
RoustyTousty Posted February 26, 2021 Author Share Posted February 26, 2021 Just now, RoustyTousty said: Thank u so much Do u know eny way i can see every script line thats posible? like a website or sometjing? Link to comment Share on other sites More sharing options...
RoustyTousty Posted February 26, 2021 Author Share Posted February 26, 2021 58 minutes ago, CoolProgrammer said: Hey there. Have a look at this: on mine of coal ore: give player 5 experience set event-block to bedrock wait 15 seconds set event-block to coal ore So basically, skript has an in-built expression give %player[s]% %integer% experience which will give the player experience points. You don't have to worry about the default minecraft command feedback anymore (The one which says [Console: Blah Blah])! thx Link to comment Share on other sites More sharing options...
CoolProgrammer Posted February 26, 2021 Share Posted February 26, 2021 Just now, RoustyTousty said: thx No problem. 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...
colorblindcolin Posted February 26, 2021 Share Posted February 26, 2021 8 minutes ago, RoustyTousty said: Do u know eny way i can see every script line thats posible? like a website or sometjing? https://docs.skunity.com –––––––––––––––––––––––––––––––––––––––––––––––––– Please leave a reaction if my assistance was satisfactory! 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