You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An API for Minecraft / Bukkit server management and scripting.
3
+
An API for Minecraft / Forge / Bukkit server management and scripting.
4
4
5
5
6
6
Installation
@@ -12,6 +12,8 @@ After that just type "make install" and answer those questions.
12
12
For an initial installation, you'll have to tweak the settings to your taste in the .server-settings installed file.
13
13
Else verify if there are new configuration items to import in your existing server configuration.
14
14
15
+
Also add the Commands and Scripts subdirectories to the PATH of your Minecraft system account.
16
+
15
17
16
18
Usage
17
19
=====
@@ -21,17 +23,13 @@ Include the following line near the start of your shell scripts:
21
23
22
24
Then you can use all the functions in the library.
23
25
24
-
Check CronTasks/CronMonitor for a little example.
26
+
Check Scripts/mcchat for a little example.
25
27
26
28
The functions list is located at the start of the .minecraft-library file.
27
29
For parameters, check each function header.
28
30
29
-
30
-
Further development plans
31
-
=========================
32
-
The library works fine for me as it is.
33
-
Nonetheless, I think I'll add a function to check if a player is running a forbidden client side mod, which could then be called from a cron script to kick/ban offending players.
34
-
I'm also considering to add the remaining Minecraft console commands.
31
+
The library is fully documented at the following Web address:
@@ -41,7 +39,50 @@ Developed and tested only on FreeBSD 10.1.
41
39
42
40
Versions and changelog
43
41
======================
44
-
1.00 2016-09-18 Initial public release
42
+
1.10 2016-09-30 Added a StripColors() function for filtering out color codes from logfiles
43
+
44
+
Added a DisplayChat() function for filtering the chat from a logfile
45
+
46
+
Added a GetClientSideModsForPlayer() function for getting the list of client side mods used by a player
47
+
48
+
Added a GetForbiddenModsForPlayer() function for getting the list of forbidden client side mods used by a player
49
+
50
+
Corrected errors in ToggleNbtValue(), GetOnlinePlayers()
51
+
52
+
Made generic wrappers for commands, with or without results to display
53
+
54
+
Separated the /mem and /mv who commands from the mem command
55
+
56
+
Corrected display glitches from the mem command
57
+
58
+
Moved all commands out of the server root directory, back in the Commands subdir
59
+
60
+
Added all the standard Minecraft commands
61
+
62
+
Added a Script sub-directory to store Scripts
63
+
64
+
Moved start* and stop commands to the Scripts subdirectory
65
+
66
+
Made the start command obey the .dontrestart directive and check if the server is already loaded
67
+
68
+
Added a mcchat script to display the chat
69
+
70
+
Added a mclast script to display players' log in and out from logfiles
71
+
72
+
Added a CronDetectCheaters Cron script to check if players are using forbidden client side mods and, if yes, apply justice to them
73
+
74
+
Added MSL_ForbiddenMods.txt and MSL_ForbiddenMods-full.txt config files in tge config subdir with the list of forbidden mods
75
+
76
+
Added usage and uninstall targets to the Makefile
77
+
78
+
1.00 2016-09-18 Initial public release
79
+
80
+
81
+
Further development plans
82
+
=========================
83
+
I'm considering to add custom shell commands, which could be implemented either through a non existent /-prefixed command to be caught in the server log, through a "/mail send" Bukkit Essentials command sent to an admin account, or better through a gateway mod or plugin which would also pass additional info (player position, item held, block being aimed at, etc.).
84
+
85
+
Everybody is also welcome to complete the forbidden client side mods list.
45
86
46
87
47
88
License
@@ -52,5 +93,4 @@ This open source software is distributed under a BSD license (see the "License"
0 commit comments