skHWID icon

skHWID -----

Convert UTF-8 String to Hex.




- kick reason
return reason (on kick event)

- log init "plugins/example.log"
- log write "this is log"

-time[ ]stamp
return "[yyyy/MM/dd HH:mm:ss]"
----------, Apr 30, 2022

- exec process %path%
Start the file directly under the specified server folder.

- file %path% finder
Returns in boolean whether the specified file exists.

Sample:
if file "plugins/Skript/config.sk" finder is true:

There are equivalents to these add-ons in other add-ons, but they didn't work in my environment, so I've implemented them in skHWID.
Thank you!
----------, Nov 25, 2020

This update is a change in the picload specification and the addition of bugets.
The plugin information says 1.1.7, but this is an update for developers and 1.1.6 for server administrators.

  • picload %path%
    The new picload %path% uses memory to store images in internal variables so you don't have to access storage each time you pget.
    You can use bugget instead of pget to get the color information without specifying the image path.

  • bget %long% and %long%
    You can use this to get the color information of the previous image without specifying the image path.
Thank you!
----------, Jul 25, 2020

- displayed name of player
There is a bug where the display name of player by Skript does not work with functions.
displayed name of player is a fix for the bug.

- update water at location
This is a block update for a water source at a specific location.

- picload %path%
This is a command to get the size (height, width) of a specific image file.

- pget %path% at %int% and %int%
This is an instruction to get the color information of a specific coordinate of a specific image file.
This instruction is upward compatible with picload and can also get the height and width.
The only difference between these instructions is whether or not you specify the coordinates.

- ginfo %int%
In the current version, you can receive information about the image obtained by the above command by passing an integer between 0 and 5 as an argument.
Code (Text):

List of ginfo arguments:
0: image size(width)
1: image size(height)
2: image color(red)
3: image color(green)
4: image color(blue)
5: image color(alpha)
 
----------, Jul 24, 2020

There are plenty of plugins that can do that, but almost no addons, right?
ex.
Code (Text):

on connect:
   if player using vpn:
       kick player due to "please turn off vpn!"
       send "%player% try connecting from %country of player% with VPN" to ops
 
----------, Jul 13, 2020

Effect:
spigot setCollides of %player% to %boolean%
- Change the presence/absence of entity hit for the specified player.

Expression:
check whitelist
- Returns a Boolean indicating if the server has whitelisting enabled.
whitellist has %offlineplayer%
- Returns a Boolean indicating whether the specified player is on the whitelist.
----------, Jul 6, 2020

Code (Text):

filecrc "file path"
filemd5 "file path"
 
----------, Jun 29, 2020

Sample
Code (Text):

every a tick:
    loop all players:
      loop all players:
         loop-player-2 is not loop-player-1
         if can loop-player-1 see loop-player-2:
            reveal loop-player-2 from loop-player-1
         else:
            hide loop-player-2 from loop-player-1
 
----------, Jun 27, 2020

Code (Text):
get (b[yte]|kb[yte]|mb[yte]) file (size|length) of %path_string%
Byte returns Long(Integer)
KByte and MByte returns Double(Number)
Code (Text):
get file name of %path_string%
This is intended to be used in conjunction with other addons.

R.I.P. v1.0.2
----------, Jun 16, 2020

It doesn't matter if you don't have it, but it would be useful to have it, and it would save a lot of code, so I made it.

  • (delete|kill) entity %entity%
  • entity %entity% is alive
example:
Code (Text):
spawn a chicken at player
loop 10 times:
       if entity last spawned entity is alive:
               broadcast "Chicken is alive!!!!"
       wait 1 seconds
if entity last spawned entity is alive:
       delete entity last spawned entity
Thank you!
----------, Jun 14, 2020

Resource Information
Author:
----------
Total Downloads: 430
First Release: Jun 13, 2020
Last Update: Apr 30, 2022
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings