Doge_Nate Posted August 10, 2022 Share Posted August 10, 2022 I will skript most of the things you send here Link to comment Share on other sites More sharing options...
Doge_Nate Posted August 10, 2022 Author Share Posted August 10, 2022 on damage: attacker is a player set {PVPTimer%uuid of victim%} to true set {PVPTimer%uuid of attacker%} to true send "&c&l ! &7&lYou have been hit don't log out" to victim send "&c&l ! &7&lYou have hit someone don't log out" to attacker wait 1 second send "&c&l ! &7&lYou can log out in 4 seconds" to victim send "&c&l ! &7&lYou can log out in 4 seconds" to attacker wait 1 second send "&c&l ! &7&lYou can log out in 3 seconds" to victim send "&c&l ! &7&lYou can log out in 3 seconds" to attacker wait 1 second send "&c&l ! &7&lYou can log out in 2 seconds" to victim send "&c&l ! &7&lYou can log out in 2 seconds" to attacker wait 1 second send "&c&l ! &7&lYou can log out in 1 second" to victim send "&c&l ! &7&lYou can log out in 1 seconds" to attacker wait 1 second send "&c&l ! &7&lYou can log out now" to victim send "&c&l ! &7&lYou can log out now" to attacker set {PVPTimer%uuid of victim%} to false set {PVPTimer%uuid of attacker%} to false on quit: if {PVPTimer%uuid of player%} = true: set {PVPTimer%uuid of player%} to false set {loginmsg%uuid of player%} to true kill player on join: if {loginmsg%uuid of player%} = true: set {loginmsg%uuid of player%} to false wait 1 second send "&c&l ! &7&lYou died because you loged in combat" I made this skript like 2 seconds ago Link to comment Share on other sites More sharing options...
Doge_Nate Posted August 10, 2022 Author Share Posted August 10, 2022 I have made my combat log skript better on damage: attacker is player set {PVPTimer%uuid of victim%} to true set {PVPTimer%uuid of attacker%} to true send action bar "&c&l ! &7&lYou have been hit don't log out" to victim send action bar "&c&l ! &7&lYou have hit someone don't log out" to attacker wait 1 second send action bar "&c&l ! &7&lYou can log out in 4 seconds" to victim send action bar "&c&l ! &7&lYou can log out in 4 seconds" to attacker wait 1 second send action bar "&c&l ! &7&lYou can log out in 3 seconds" to victim send action bar "&c&l ! &7&lYou can log out in 3 seconds" to attacker wait 1 second send action bar "&c&l ! &7&lYou can log out in 2 seconds" to victim send action bar "&c&l ! &7&lYou can log out in 2 seconds" to attacker wait 1 second send action bar "&c&l ! &7&lYou can log out in 1 second" to victim send action bar "&c&l ! &7&lYou can log out in 1 seconds" to attacker wait 1 second send action bar "&c&l ! &7&lYou can log out now" to victim send action bar "&c&l ! &7&lYou can log out now" to attacker set {PVPTimer%uuid of victim%} to false set {PVPTimer%uuid of attacker%} to false on quit: if {PVPTimer%uuid of player%} = true: set {PVPTimer%uuid of player%} to false set {loginmsg%uuid of player%} to true kill player on join: if {loginmsg%uuid of player%} = true: set {loginmsg%uuid of player%} to false wait 2 second send action bar "&c&l ! &7&lYou died because you loged in combat" to player Link to comment Share on other sites More sharing options...
Orakpo Posted August 10, 2022 Share Posted August 10, 2022 (edited) 6 hours ago, Doge_Nate said: I will skript most of the things you send here Would it be possible for you to create a script that allows any player to create their own unique Custom Join/Leave/Kill/Death Message Script. (With Permissions so on those with permissions can use these commands. Also have the script disable the default messages for kills/deaths/join/leave that Minecraft servers by default have. Also have a blacklisted list area in the script so people can't set racist or homophobic ect messages for their custom messages/ /JoinMessage Set (Message) /LeaveMessage Set (Message) /KillMessage Set (Message) Could you add the ability to track my own kills in the custom message by adding [Kills] /DeathMessage Set (Message) Could you add the ability to track player deaths (for either myself or for the player I just killed) in the custom message by adding [Deaths] Edited August 10, 2022 by Orakpo Link to comment Share on other sites More sharing options...
Doge_Nate Posted August 10, 2022 Author Share Posted August 10, 2022 i will start trying to skript it right away Link to comment Share on other sites More sharing options...
JustRez Posted August 10, 2022 Share Posted August 10, 2022 (edited) Could you help me out with creating buyable wall skript with a command /coinwall get [ign] . Gives the player an unbreaking 20 enchanted Stick named Coin Wall Creator that upon right clicking 2 points of a wall (Like you would using the wooden axe to set a region from The World Guard Plugin) Once 2 points are selected you would type /coinwall set [coinwall name] The wall is unbreakable but upon right clicking said way with a certain amount of of items You might want to use world guard/edit to make this work but I cant code to save my life. (For example, 32 diamonds to buy one of the walls which would make the wall blocks breakable again) add a command to set the currency to buy the wall /coinwall setbalance [coinwallname] while holding the item or items on hand Edited August 12, 2022 by JustRez changing the request Link to comment Share on other sites More sharing options...
Orakpo Posted August 10, 2022 Share Posted August 10, 2022 3 hours ago, Doge_Nate said: i will start trying to skript it right away TYSM! Hopefully you are able to create it as I really really need this Script for the box server. Link to comment Share on other sites More sharing options...
Doge_Nate Posted August 11, 2022 Author Share Posted August 11, 2022 i cant really make it so were every one can change but i can make it so you can change it in the minehut file manager Link to comment Share on other sites More sharing options...
Doge_Nate Posted August 11, 2022 Author Share Posted August 11, 2022 but i will still try to do your idea because i think it is possible Link to comment Share on other sites More sharing options...
Doge_Nate Posted August 11, 2022 Author Share Posted August 11, 2022 YOOOO I DID IT Link to comment Share on other sites More sharing options...
Orakpo Posted August 11, 2022 Share Posted August 11, 2022 54 minutes ago, Doge_Nate said: i cant really make it so were every one can change but i can make it so you can change it in the minehut file manager I've seen it done on a Minehut Server name Drip so its possible but by the looks of things it seems like it's a very difficult thing to create Sorry about that Link to comment Share on other sites More sharing options...
Orakpo Posted August 11, 2022 Share Posted August 11, 2022 1 minute ago, Doge_Nate said: YOOOO I DID IT Wait you did it? Link to comment Share on other sites More sharing options...
_Tarna_ Posted August 11, 2022 Share Posted August 11, 2022 5 hours ago, Doge_Nate said: I have made my combat log skript better on damage: attacker is player set {PVPTimer%uuid of victim%} to true set {PVPTimer%uuid of attacker%} to true send action bar "&c&l ! &7&lYou have been hit don't log out" to victim send action bar "&c&l ! &7&lYou have hit someone don't log out" to attacker wait 1 second send action bar "&c&l ! &7&lYou can log out in 4 seconds" to victim send action bar "&c&l ! &7&lYou can log out in 4 seconds" to attacker wait 1 second send action bar "&c&l ! &7&lYou can log out in 3 seconds" to victim send action bar "&c&l ! &7&lYou can log out in 3 seconds" to attacker wait 1 second send action bar "&c&l ! &7&lYou can log out in 2 seconds" to victim send action bar "&c&l ! &7&lYou can log out in 2 seconds" to attacker wait 1 second send action bar "&c&l ! &7&lYou can log out in 1 second" to victim send action bar "&c&l ! &7&lYou can log out in 1 seconds" to attacker wait 1 second send action bar "&c&l ! &7&lYou can log out now" to victim send action bar "&c&l ! &7&lYou can log out now" to attacker set {PVPTimer%uuid of victim%} to false set {PVPTimer%uuid of attacker%} to false on quit: if {PVPTimer%uuid of player%} = true: set {PVPTimer%uuid of player%} to false set {loginmsg%uuid of player%} to true kill player on join: if {loginmsg%uuid of player%} = true: set {loginmsg%uuid of player%} to false wait 2 second send action bar "&c&l ! &7&lYou died because you loged in combat" to player Even better would be using loops and actual list variables. Also you have an error in line 2 which causes the script to that work as intended. You are checking if the attacker is player. And using player in the damage event is the same as victim. So you are essentially checking if the attacker is victim. What you are meant to use is if attacker is a player. That will be the correct check to make. Discord - tarna256 In-game name - _Tarna_ Website - https://tarna.dev Paste Site: https://paste.tarna.dev --------------------------------------------------------- [VIP] - 7/27/2020 Community Support - 7/8/20 | 11/3/20 Helper - 11/3/20 - 2/21/21 Moderator - 2/21/21 - 5/17/21 - 5/17/21 - now Moderator - 12/20/22 - now --------------------------------------------------------- Link to comment Share on other sites More sharing options...
Doge_Nate Posted August 11, 2022 Author Share Posted August 11, 2022 options: join: {jointext%uuid of player%} leave: {leavetext%uuid of player%} kill: {killtext%uuid of player%} command joinmessage <text>: trigger: set {jointext%uuid of player%} to arg 1 command leavemessage <text>: trigger: set {leavetext%uuid of player%} to arg 1 There pare of it Link to comment Share on other sites More sharing options...
Doge_Nate Posted August 11, 2022 Author Share Posted August 11, 2022 _Tarna_ it works dosent it Link to comment Share on other sites More sharing options...
ApexSplat Posted August 11, 2022 Share Posted August 11, 2022 Yes but it could be further improved is what they are saying. Discord: Dead#6905 Love anime! Link to comment Share on other sites More sharing options...
Doge_Nate Posted August 11, 2022 Author Share Posted August 11, 2022 ok i will try to improve it Link to comment Share on other sites More sharing options...
Doge_Nate Posted August 11, 2022 Author Share Posted August 11, 2022 Link to comment Share on other sites More sharing options...
Doge_Nate Posted August 11, 2022 Author Share Posted August 11, 2022 if attacker is a player dosent work Link to comment Share on other sites More sharing options...
Doge_Nate Posted August 11, 2022 Author Share Posted August 11, 2022 but attacker is a player dose work Link to comment Share on other sites More sharing options...
Doge_Nate Posted August 11, 2022 Author Share Posted August 11, 2022 Also can someone help me make the blacklist for Orakpo skript Link to comment Share on other sites More sharing options...
Doge_Nate Posted August 11, 2022 Author Share Posted August 11, 2022 i have done eveything else Link to comment Share on other sites More sharing options...
Doge_Nate Posted August 11, 2022 Author Share Posted August 11, 2022 (edited) options: join: {jointext%uuid of player%} leave: {leavetext%uuid of player%} command joinmessage <text>: trigger: set {jointext%uuid of player%} to arg 1 command leavemessage <text>: trigger: set {leavetext%uuid of player%} to arg 1 command killmessage <text>: trigger: set {killtext%uuid of player%} to arg 1 command deathmessage <text>: trigger: set {deathtext%uuid of player%} to arg 1 on join: set join message to "{@join}" on quit: set quit message to "{@leave}" on death: attacker is a player set death message to "%{deathtext%uuid of victim%}%" broadcast "%victim% %{killtext%uuid of attacker%}%." Orakpo here is the skript without the blacklist Edited August 11, 2022 by Doge_Nate Link to comment Share on other sites More sharing options...
Doge_Nate Posted August 12, 2022 Author Share Posted August 12, 2022 i cant figure out how to make a blacklist for the bad words so your gunna just have to punish them without the skript doing it for you if thats fine with you Orakpo Link to comment Share on other sites More sharing options...
ApexSplat Posted August 12, 2022 Share Posted August 12, 2022 options: join: {jointext%uuid of player%} leave: {leavetext%uuid of player%} command /joinmessage <text>: trigger: if player has permission "message.join": if {blacklist::message::*} doesn't contain arg 1: set {jointext%uuid of player%} to arg 1 else: send "&cYou used a blacklisted word!" command /leavemessage <text>: trigger: if player has permission "message.leave": if {blacklist::message::*} doesn't contain arg 1: set {leavetext%uuid of player%} to arg 1 else: send "&cYou used a blacklisted word!" command /killmessage <text>: trigger: if player has permission "message.kill": if {blacklist::message::*} doesn't contain arg 1: set {killtext%uuid of player%} to arg 1 else: send "&cYou used a blacklisted word!" command /deathmessage <text>: trigger: if player has permission "message.death": if {blacklist::message::*} doesn't contain arg 1: set {deathtext%uuid of player%} to arg 1 else: send "&cYou used a blacklisted word!" on join: if player has permission "message.join": set join message to "{@join}" on quit: if player has permission "message.leave": set quit message to "{@leave}" on death of a player: if attacker is player: if victim has permission "message.death": if attacker has permission "message.kill": set death message to "%{deathtext%uuid of victim%}%" broadcast "%victim% %{killtext%uuid of attacker%}%." else: set death message to "%{deathtext%uuid of victim%}%" else if attacker has permission "message.kill": broadcast "%victim% %{killtext%uuid of attacker%}%." command /blacklistmessage [<text>] [<text>]: trigger: if player has permission "message.blacklist": if arg 1 is set: if arg 1 == "add": if arg 2 is set: if {blacklist::message::*} doesn't contain arg 2: add arg 2 to {blacklist::message::*} send "&aAdded %arg 2% &ato the blacklist!" else: send "&aThat word is already blacklisted" else: send "&aSpecify a word to blacklist" else if arg 1 == "remove": if arg 2 is set: if {blacklist::message::*} contains arg 2: remove arg 2 from {blacklist::message::*} send "&aRemoved %arg 2% &aas a blacklisted word" else: send "&aThat word isn't blacklisted" else: send "&aSpecify a word to blacklist" else: send "&aUsage: /blacklistmessage {add | remove} {word}" Discord: Dead#6905 Love anime! 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