Jump to content

dinomite

Member
  • Content Count

    12
  • Joined

  • Last visited

Community Reputation

0 Neutral

About dinomite

  • Birthday 06/10/2004

Recent Profile Visitors

134 profile views
  1. I created a way to implement the above function now that Minehut has updated (I know I may be late). function rgb_color(r: integer, g: integer, b: integer) :: string: set {_hex} to subtext of hex({_r}, {_g}, {_b}) from characters 2 to length of hex({_r}, {_g}, {_b}) set {_hex::*} to split {_hex} at "" set {_size} to size of {_hex::*} delete {_hex::%{_size}%} return colored "&x&%join {_hex::*} by ""&""%" For example, you can do: send colored "%rgb_color(255, 0, 0)%&lWARNING! &fThere may be bugs!" In order to send a nice-looking message that looks like this: This is for people who would rather use RGB over Hex. Enjoy!
  2. function hex(r: integer, g: integer, b: integer) :: string: set {_indices::*} to split "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" at "," set {_convert::*} to split "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F" at "," loop "r", "g" and "b": set {_number} to {_%loop-value%} / 16 set {_decimal} to {_number} - floor({_number}) set {_number} to {_number} - {_decimal} set {_decimal} to {_decimal} * 16 loop "number" and "decimal": clear {_index} loop {_indices::*}: add 1 to {_index} "%{_%loop-value-2%}%" = loop-value-3: set {_return::*} to {_return::*} and {_convert::%{_index}%} stop loop return "##%join {_return::*} by """"%" Function to convert RGB into Hex colors... I hope this will be useful when Skript or related add-ons support custom colors in text components. Check out this blog post in order to find out how RGB and Hex relate. Please DM me on Discord (dinomite#0432) if there are any bugs or questions.
  3. This enchanter script is a simple vanilla GUI that allows players to enchant their items without using levels. Dependencies: Skript (of course) and skBee. Please note that I have not tried this resource without any additional add-ons, so I am not sure if or how other add-ons will interfere with this script's performance. Find this script @ https://pastebin.com/raw/WeUGLyam See how this script can be used @ https://imgur.com/a/S9stgrk. (if you cannot view the attachment) Use /enchanter to open the main interface, pretty self-explanatory from there. Report bugs or constructive criticism here, thanks! Enchanter.mov
  4. 100% Dis was the best server EVER (besides mine, of course) By the way, @ReportCards PvPCrafter is coming back, hmu on discord (dinomite#0432) for more information
  5. In the past the limit has been 2 months and I think that's an appropriate length.
  6. this concept is very cool, though! i like how it's compartmentalized so you only get what you want, but there's still fun addons you can use
  7. Thank you! It seems there's not too many new things, but it grants new potential for servers (this is a shrug but the emote sucks)
  8. * I know Minehut is back on regular Spigot, but I'd still like the information. What are some changes to Skript that comes with PaperSpigot. I'd appreciate it if you let me know!
×
×
  • Create New...