kazuken0814

Untitled

Jun 28th, 2018
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.32 KB | None | 0 0
  1. on load:
  2.     send "" to console
  3.     send "&bPlugin Loaded! Version &c1.0" to console
  4.     send "&bMade By WolfedDown!" to console
  5.     send "" to console
  6.     send "&d&m--------&c&m----- &c&mAuto&7UnBan ver,1.0 &c&m-----&d&m--------" to console
  7.  
  8.  
  9.  
  10.  
  11. Options:
  12.     #========== EDIT してええで ================#
  13.     #Owner #1
  14.     Owner1: JAMESTGUNDER
  15.     #Owner 2
  16.     Owner2: baka
  17.     # Header
  18.     HEADPLUGIN: &b&m--------&r &cAuto&7-&cUnban &b&m--------&r
  19.     # Footer
  20.     FOOTPLUGIN: &b&m--------&r &c&m<------>&r &b&m--------&r
  21.     # Time Format in minutes or hours
  22.     TimeFormat: minute
  23.     # Time to unban Owner Number 1 IN NUMBERS
  24.     TimeOwner1: 1
  25.     # Time to unban Owner Number 2 IN NUMBERS
  26.     TimeOwner2: 1
  27.  
  28. every {@TimeOwner1} {@TimeFormat}:
  29.     execute console command "/pardon {@Owner1}"
  30.    
  31. every {@TimeOwner2} {@TimeFormat}:
  32.     execute console command "/pardon {@Owner2}"
  33.  
  34. command /autounban [<text>]:
  35.     permission: au.view
  36.     trigger:
  37.         if arg 1 is not set:
  38.             send "{@HEADPLUGIN}"
  39.             send "&6Skript Version &c1.0"
  40.             send "&6Coded With &c❤ &6By WolfedDown"
  41.             send "{@FOOTPLUGIN}"
  42.         if arg 1 is "reload":
  43.             if player has permission "au.reload":
  44.                 execute console command "/sk reload AutoUnBan"
  45.                 wait 60 ticks
  46.                 send "{@HEADPLUGIN}"
  47.                 send ""
  48.                 send "&7Plugin Reloaded"
  49.                 send "&7See Console For Details"
  50.                 send ""
  51.                 send "{@FOOTPLUGIN}"
Advertisement
Add Comment
Please, Sign In to add comment