Skray
-
Posts
71 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Blogs
Events
Store
Downloads
Posts posted by Skray
-
-
On 8/6/2021 at 12:22 AM, SkriperManIkey said:
For a skript this should work:
on break: if {AutoPickup} is "True": cancel event give player event-block command /autopickup [<text>]: if arg-1 is "True": set {AutoPickup} to "True" if arg-1 is "False": set {AutoPickup} to "False"
and for a plugin I would recommend using https://www.spigotmc.org/resources/autopickup.7623/ or something like that
does it work with fortune
-
5 hours ago, LapEvents said:
Do you need a skript? Also why not use a plugin we have infinite plugins
but what plugin
-
can I do this without the AUtopickup plugin?
-
Instead of using "every tick:" can I use something like "every 10 seconds:"?
-
7 hours ago, Dennis12_op said:
Just replay what u want me to do and i do it!
When you are in creative mode you have one inventory, but when you are in survival you have another inventory.
-
21 hours ago, SoloStrafe said:
command /name <text>: trigger: set name of player's held item to arg-1 command /lore <text>: trigger: set lore of player's held item to arg-1
I don't really know how to make the player's held item to be unbreakable but those two should work for the name and lore. However it is still untested.
Can I make it work with colors?
-
On 5/10/2021 at 1:20 PM, BanditEagle said:
without the brackets, yes.
It didnt work.
-
1 minute ago, Encrypt said:
At a quick glance it looks fine, its better to test it than asking on the forums though.
Okay! I will test it!
-
4 minutes ago, Encrypt said:
What is the issue? Is it getting errors or just not working?
Idk, haven't tested it. Just want to know if someone can see something that wouldn't work.
-
Command /rankup trigger: if player's {group} is stone if player's inventory contains 5 stone named "Compressed Stone" execute command /pex user %player% group set iron delete 5 stone named "Compressed Stone" from player's inventory else: send "You can't afford that" else: if player's {group} is iron if player's inventory contains 5 iron block named "Compressed Iron" delete 5 iron block named "Compressed Iron" from player's inventory execute command /pet user %player% group set diamond else: send "You can't afford that" else: send "You are on the max level"
(For the ranks I am using Permission Ex)
(Other plugins I use: Skript, Skbee, Tuske, Vault)
-
22 minutes ago, Thedukc said:
on mine: add 1 to {blocksmined::%player's uuid%} add 1 to {serverblocks}
{serverblocks} would be all blocks mined by the whole server.
{blocksmined::%player's uuid%} would be all blocks mined by the player and not the server.
Thanks! What's the difference between:
On mine:
and:
On break:
-
on mine: add 1 to {%player's%.blocksmined} add 1 to {serverblocks}
If it works, what is the variable in usage?
-
On 4/3/2021 at 12:49 AM, SuperOrca said:
Balance:
%player's balance%
TPS:
%tps from last 1 minute% %tps from last 5 minutes% %tps from last 15 minutes%
https://skripthub.net/docs/?id=2624
Unique Joins:
%size of offline players%
Unique joins, would that only count player's that are offline?
-
Like this, but I don't think this would work:
command /iunbreakable: add unbreakable to player's hold item command /tunbreakable: add unbreakable to player's hold tool
-
On 5/16/2021 at 1:00 AM, Slap said:
I am Skripting/Developing for others!
High Quality, Lag-Free Skripts
2+ Years Experience
Previously developed for 3 servers averaging 30 - 50 players, which each generated $600+ income
Short skripts (<30 lines) FREE
Larger Skripts will have affordable pricing
Customers so far: 2
DM me on discord for more info: Slap#7965
Or join the discord: https://discord.gg/3kGbhVBU5aI don't have discord. But I would need a like a lether armor, that if you wear it you get more hearts.
-
8 hours ago, SoloStrafe said:
command /name <text>: trigger: set name of player's held item to arg-1 command /lore <text>: trigger: set lore of player's held item to arg-1
I don't really know how to make the player's held item to be unbreakable but those two should work for the name and lore. However it is still untested.
Do you think this would work? Also does the other commands only work for items, or do they work for tools too?
Command /unbreakable: add unbreakable to player's held item
-
I need help with 3 scripts
Command /name <text> permission: op name player's hold item <text> Command /lore <text> permission: op lore player's hold item <text> Command /unbreakable permission: op make player's hold item unbreakable
-
11 minutes ago, Thedukc said:
This script simply wouldn't work. I've made you 2 a scripts that should work. If none of them fit your question reply and I'll try again :).
#First one
options:
Blacklist: Stone and Iron oreOn break:
if {@Blacklist} contains event-block:
cancel event#Second one
options:
Blacklist: Stone and Iron oreOn break:
if {@Blacklist} contains event-block:
stop
else:
cancel eventPs: I'm not the greatest scripter and i never will but this is the simplest way that I found to do this.
Hope this helps!
Thank you! The second one was what I needed! Thanks so much!
-
3 minutes ago, Thedukc said:
Yes if the spacing is good it should break the stone give you cobble stone and then make it bedrock for 30 seconds then turn it back to stone same with coal.
Okay thanks!
But would this part work:
Blacklist: Stone, Iron ore
On break:
If not {blacklist} contains event-block
cancel event
-
How do I avoid this big space?
This
-
1 minute ago, Thedukc said:
Yes it will reappear without anything happening.
Oh, okay! Thanks! Do you think this would work?
Blacklist: Stone, Iron ore
On break:
If not {blacklist} contains event-block
cancel event
on break coal ore:
player's world = "world":
if gamemode of player is survival:
wait 3 ticks
set event-block to bedrock
wait 30 seconds
set event-block to coal ore
on break stone:
player's world = "world":
if gamemode of player is survival:
wait 3 ticks
set event-block to bedrock
wait 30 seconds
set event-block to stone
-
6 minutes ago, Thedukc said:
No it cancel's the event of the action. If you break something or place something it will make it so it's like it never happened. You can also uncancel events.
So if you break a stone block it will just reaper?
-
2 hours ago, Thedukc said:
Ok but what happens to the block that are on the list I'm confused at the point of the script? The script you made just makes it so you can't mine anything. Also I found errors in you're script.
Here's the corrected version:
on break:
if event-block is coal ore or iron ore or diamond ore or emerald ore or stone
cancel event
else:
clear the drops
set event-block to event-block
send "You can't mine that"Or wait, what does "cancel event" means? Does that mean that the block wont get destroyed?
-
2 hours ago, Thedukc said:
Ok but what happens to the block that are on the list I'm confused at the point of the script? The script you made just makes it so you can't mine anything. Also I found errors in you're script.
Here's the corrected version:
on break:
if event-block is coal ore or iron ore or diamond ore or emerald ore or stone
cancel event
else:
clear the drops
set event-block to event-block
send "You can't mine that"Here is what gonna happen:
on break stone:
if gamemode of player is survival:
wait 3 ticks
set event-block to bedrock
wait 30 seconds
set event-block to stone
Scoreboard doesn't work
in Discussion
Posted
Hi can I have help? This doesn't update when i kill / die
on join:
while player is online:
set title of player's board to "Server"
set line 2 of player's scoreboard to "Kills: %{kills::player's uuid}%"
set line 1 of player's scoreboard to "Deaths: %{deaths::player's uuid}%"
wait 2 seconds
on death:
if attacker is a player:
add 1 to {kills::%attacker's uuid%}
broadcast "Kill"
if victim is a player:
broadcast "death"
add 1 to {deaths::%victim's uuid%}