syky client

Turn off syky modules on your server

You can switch syky client modules off for everyone who plays on your server, in one of two ways: a DNS record on your domain, or a message on the syky:rules plugin channel. Neither needs an account or a word with us.

The short version

  • A TXT record at _syky.example.net covers your domain and its subdomains. No code: publish it, press Check on this page, and players get it within half an hour.
  • A plugin message on syky:rules works at once, for one connection, and also on servers joined by IP.
  • Both list ids: modules, and HUD elements as hud_ and the element (hud_coords). Anything named in either is off while the player is on your server.
  • A server can only switch modules off. It can't switch anything on, change settings or read anything from players.

Two ways

DNS recordPlugin channel
SetupOne TXT record, no codeA few lines in a plugin or mod
Takes effectWithin half an hour of pressing Check belowAt once
CoversYour domain and every subdomainThe connection it is sent on: one server, or one backend behind a proxy
LastsUntil you remove the recordUntil the player leaves or switches server
Servers joined by IPNot coveredCovered

You can use both. A player is held by both lists together: a module named in either one is off. Rules we keep ourselves for a few networks, such as Freelook on Hypixel, apply as well.

DNS record

You publish a TXT record on your server's domain. Our server reads it and adds your rules to the list every syky client downloads. After you publish the record, press Check below once: that is how our server learns your domain has one. Clients refresh the list every half hour, and on joining a server when their copy is over ten minutes old. From then on our server re-reads your record every few hours by itself.

A record on example.net covers example.net and every name under it: mc.example.net, play.example.net and so on. Players who join by IP address alone are not covered, because there is no domain to read a record from.

Name
_syky.<your domain>, for example _syky.example.net
Type
TXT
Value
v=syky1; block=<id>,<id>
Example
v=syky1; block=freelook,zoom
  • Ids are lowercase and separated by commas, up to 64 of them. A HUD element's id starts with hud_, like hud_coords. Every id is in the table under Make your rules.
  • block= with nothing after it is a valid record that blocks nothing.
  • Keep one record starting with v=syky1 on the name.
  • To lift the rules at once, set the value to v=syky1; block= and press Check. A deleted record stops applying once two of our scheduled lookups miss it, up to about eight hours.
  • Streamer Mode is ignored. An id the current client doesn't have is kept, so a newer client can use it, and Check warns about it in case it is a typo.
  • Anything malformed makes the whole record invalid, and none of it applies: an uppercase id, an empty item as in a,,b, more than 64 ids, or over 1024 characters. Check says which.

Plugin channel

syky client registers the plugin channel syky:rules. Your server, or the proxy in front of it, sends a plugin message on it, and the client switches the listed modules and HUD elements off at once.

Channel
syky:rules
Body
UTF-8 JSON, at most 4096 bytes
Example
{"v":1,"block":["freelook","zoom"]}
  • The ids are the same as in the DNS record. "block":[] lifts the rules.
  • Each message replaces the one before it, so always send the whole list. A proxy and the server behind it sending separate lists would undo each other: send from one place.
  • A message the client can't read is ignored whole, and the last good one stays in force: an id outside a-z, 0-9 and _, more than 64 ids, or JSON that isn't strict.
  • The rules last for the current connection only. The client clears them on every join, so send them after the player joins, and again after every backend switch on a proxy.
  • Paper and Spigot deliver a plugin message only to a client that has registered its channel, so send once syky has registered syky:rules, as the example below does.
  • The client never replies on the channel.

Minimal examples

Each sends the same rules, Freelook and Zoom off, to every player. Swap in your own body from Make your rules.

Bukkit API, as a plugin on the game server.

import java.nio.charset.StandardCharsets;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerRegisterChannelEvent;
import org.bukkit.plugin.java.JavaPlugin;

public final class SykyRules extends JavaPlugin implements Listener {
    private static final String CHANNEL = "syky:rules";
    private static final byte[] RULES =
            "{\"v\":1,\"block\":[\"freelook\",\"zoom\"]}".getBytes(StandardCharsets.UTF_8);

    @Override
    public void onEnable() {
        getServer().getMessenger().registerOutgoingPluginChannel(this, CHANNEL);
        getServer().getPluginManager().registerEvents(this, this);
    }

    // Paper and Spigot deliver a plugin message only to a client that registered its
    // channel, so send when syky registers it, not on join.
    @EventHandler
    public void onRegister(PlayerRegisterChannelEvent event) {
        if (CHANNEL.equals(event.getChannel())) {
            event.getPlayer().sendPluginMessage(this, CHANNEL, RULES);
        }
    }
}

Make your rules

Every syky module and HUD element is listed below with its id. Type your domain and tick what to switch off: the DNS record and the plugin message are written as you go. Nothing leaves this page.

0 of 64 picked
NameId
aspectratio
autorespawn
blockoverlay
borderless
bushyleaves
capsfix
chatbinds
chatcamera
chatcopy
chatheads
chatping
chatreveal
chatstack
chunkborders
colorgrade
commandfix
customcrosshair
glint
crystal
fireoverlay
fog
customhearts
customhitbox
hurtcolor
shield
sky
customsounds
totem
water
disconnectconfirm
dropguard
durabilityguard
effectalerts
fastgrass
focusfade
fogblur
saturation
fov
freelook
fullbright
healthring
healthindicator
hidearmor
hidecosmetics
hotbarkeys
chathistory
inventorybackground
itemphysic
lightoverlay
lootbeams
motionblur
noshading
particles
pingtags
pumpkinoverlay
pvpleaveconfirm
raindrops
reconnectbutton
removals
safeinteraction
selfnametag
serverpackpriority
shulkerpreview
slothighlight
soundmixer
autosprint
streamermode
targetesp
thirdperson
tiertagger
time
tnttimer
togglesneak
tracker
transparentchat
viewmodel
weather
wetsurfaces
worldtint
zoom
hud_potions
hud_armor
hud_boss_bar
hud_bps
hud_break_indicator
hud_clock
hud_combo
hud_cooldowns
hud_coords
hud_cpu
hud_date
hud_day_counter
hud_durability_alert
hud_expiring_potions
hud_fps
hud_gpu
hud_hotkeys
hud_images
hud_game_clock
hud_inventory
hud_item_counter
hud_item_pickups
hud_keystrokes
hud_music
hud_ping
hud_playtime
hud_ram
hud_reach
hud_scoreboard
hud_server_ip
hud_shield_timer
hud_splash_accuracy
hud_target
hud_tps
hud_uid
hud_username
hud_watermark

DNS record

Name
_syky.<your domain>

Most DNS panels want only _syky here and add your domain themselves.

Type
TXT
Value
v=syky1; block=

Nothing picked yet: this record blocks nothing.

Plugin message on syky:rules

Body
{"v":1,"block":[]}

Send it as UTF-8 bytes. An empty list lifts the rules.

Check your record

Once the DNS record is published, check it here. Our server looks it up, shows what it read and puts it in force straight away. Players then get it at their next refresh.

What players see

  • What you list is off only while the player is on your server. When they leave, it comes back as they had it.
  • The menu marks each module “Off on” your server and the HUD's element list says the same beside each element. Pressing its key shows “Zoom is off on” your server instead of switching it on, and a message that switches off something the player had on says so once.
  • The player's own settings never change. Their config doesn't record that your server existed.

What a server can't do

  • Switch anything on. A record or a message can only switch modules off: never on, never change a setting, and never past the moment the player leaves.
  • Switch Streamer Mode off. It stays as the player set it whatever a server lists.
  • Read anything from players. syky client identifies itself only by registering the syky:rules channel, and sends your server nothing else of its own.
  • Run anything on the client. A record or a message is a list of module ids, and the client reads only that list. Rules never come with code the client runs.

Questions

How do I add the record in my DNS panel?

Open the DNS settings of your domain where you manage it: your registrar or your DNS host. Add a record, set its type to TXT and type _syky in the Name or Host field. Most panels add your domain themselves and show the result as _syky.example.net. Paste the value into the Content or Value field without quotes, leave the TTL on automatic and save. If your panel asks for the full name, enter _syky.example.net, and make sure it does not end up as _syky.example.net.example.net.

My domain already has TXT records. Is that a problem?

No. Records such as SPF or a site verification sit on other names. The syky record has its own name, _syky, so it never mixes with them.

How long until players get the rules?

A plugin message works the moment the client gets it. A DNS record needs one press of Check on this page after you publish it: our server reads it then and there, and clients pick it up within half an hour, or sooner when a player joins a server. Once your record is known, our server re-reads it every few hours, so later edits also arrive on their own; Check makes them immediate. Players already on your server get the change while they play. A player who has turned syky's online features off gets it when they turn them back on.

How do I change or remove the rules?

Edit the record's value and press Check again. To lift every rule at once, set the value to v=syky1; block= and press Check. If you delete the record instead, the rules lift once our server's next two scheduled lookups miss it, which can take up to eight hours. With the plugin channel, send a new message; {"v":1,"block":[]} lifts the rules for the rest of the connection.

Check can't find my record.

A new record can take a few minutes to show up in DNS, and longer if an older answer was cached with a long TTL. Make sure the name is _syky. followed by your domain, the type is TXT and the value starts with v=syky1. To see what everyone else sees, run nslookup -type=TXT _syky.example.net or dig TXT _syky.example.net.

How can my server tell who plays with syky?

syky client registers the syky:rules channel, so it is among a player's registered plugin channels, for example in Player.getListeningPluginChannels() on Paper.

We run a network behind a proxy. Where do the rules go?

A DNS record covers the whole network, since players join through your domain. For rules that differ per backend, use the plugin channel: send from the proxy after each switch, or from a plugin on each backend. Either way the client clears channel rules on every join, so each backend's rules apply only there.

Where do I get help?

Ask in our Discord, or write to support@sykyclient.com.

Choose your version

Need help? Read the install guide or ask on Discord.