This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=AutoSSH service | |
After=network.target | |
[Service] | |
Type=simple | |
User=user | |
Group=group | |
Environment="AUTOSSH_GATETIME=0" | |
ExecStart=/usr/bin/autossh -N -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -L %i:localhost:%i user@remote |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Initialize(Plugin) | |
Plugin:SetName("SendTests") | |
cPluginManager.BindCommand("/sendblockbreak", "permissionnode", CmdBlockBreak, " - Show a block break packet to the block below you") | |
cPluginManager.BindCommand("/sendcollect", "permissionnode", CmdCollectEntity, " - Send a collect packet for items near you") | |
cPluginManager.BindCommand("/senddestroy", "permissionnode", CmdDestroyEntity, " - Send a destroy packet for (non-players) entities near you") | |
cPluginManager.BindCommand("/senddestroyplayer", "permissionnode", CmdDestroyEntityPlayer, " - Send a destroy packet for your entity") | |
cPluginManager.BindCommand("/senddetach", "permissionnode", CmdDetachEntity, " - Send a detach packet for your player") | |
cPluginManager.BindCommand("/sendeditsign", "permissionnode", CmdEditSign, " - Send a sign edit packet") | |
cPluginManager.BindCommand("/sendleashentity", "permissionnode", CmdLeashEntity, " - Send leash packets for entities near you") |