Oxalist

Untitled

Mar 25th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. options:
  2. # CONFIG
  3. PermissionActivated: true #Do you want to use a permission? So set it to true or to false if you don't want it
  4. Permission: coloredsignssk.use # Here you can set the permission when this PermissionActivated is set to true
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38. # IF YOU ARE DON'T A SKRIPT DEV DON'T EDIT THINGS BELOW THIS
  39. # |
  40. # |
  41. # \ /
  42.  
  43.  
  44.  
  45. ColorReplacer: "&"
  46.  
  47. on sign change:
  48. if {@PermissionActivated} is true:
  49. if player has permission "{@Permission}":
  50. replace all {@ColorReplacer} with "§" in line 1 of event-block
  51. replace all {@ColorReplacer} with "§" in line 2 of event-block
  52. replace all {@ColorReplacer} with "§" in line 3 of event-block
  53. replace all {@ColorReplacer} with "§" in line 4 of event-block
  54. else:
  55. replace all {@ColorReplacer} with "§" in line 1 of event-block
  56. replace all {@ColorReplacer} with "§" in line 2 of event-block
  57. replace all {@ColorReplacer} with "§" in line 3 of event-block
  58. replace all {@ColorReplacer} with "§" in line 4 of event-block
Add Comment
Please, Sign In to add comment