Remove getLua and getCommand from clusterTools

Remove the unused and badly behaved getCommand and getLua functions from
clusterTools.  The main issue with these is that encourage the use of
large commands that have negative impact on the performance of the
servers, as such large commands have to be transmitted to all players
that are connected.  These functions also have poor handling of lua
comments and will fail on strings containing for example "--".
This commit is contained in:
Hornwitser committed 2019-10-24 22:49:16 +02:00
1 parent 1595555154
commit 5d9d3981ff
5 files changed
+4 -75

No files matched your search

-1
View File
@@ -2,7 +2,6 @@ const needle = require("needle");
const fs = require("fs-extra");
const pluginConfig = require("./config");
const COMPRESS_LUA = false;
module.exports = class remoteCommands {
constructor(mergedConfig, messageInterface, extras){