v1.35.0-RC.1 Changelog
Renamed the add-on from 8Crafter's Debug Sticks, Chat Ranks, Custom UI, JavaScript Commands/Script REPL, and Server Utilities
to 8Crafter's Server Utilities & Debug Sticks
!
Additions
Blocks
- Added the
andexdb:invalid_block_placeholder
block. - Added the
andexdb:invalid_block_placeholder_no_occlusion_no_dimming
block. - Added the
andexdb:invalid_block_placeholder_lit
block.
Chat Escape Codes
- Added the
${ase}
chat secape code, which is the same as${se}
except that is evaluates the provided script in an asynchronous function, sosystem.run()
is not needed to use functions that can't be used in read-only mode, and you can use theawait
keyword. And awaited promises will actually have their errors caught and logged to the chat, instead of only to the console, which you wouldn't be able to see the errors from unless you were on a dedicated server and had console access, or were on a world and you were the host. It requires the same permissions as the${se}
escape code.
Commands
- Added the
\\loadchunks
command. It has one alias:\\lc
. - Added the
duration
parameter to the\selectionrender
command. - Added the
t
flag to the\takeitem
command. This flag causes the command to create ghost items if the slot type is a number or~
. - Added the
\tpaccept
command. - Added the
\tpdeny
command. - Added the
\gmg
command. - Added the
\\expandselection
command. - Added the
\\generateterrain
command. - Added the
f
flag to the\\remove
command. This flag causes the command to execute in fast mode, fast mode causes the command to run all in one tick and usingBlockVolumeBase.prototype.getBlockLocationIterator()
to get all the non-air blocks in the selected area. Note: This flag will cause the command to freeze the world/realm/server until it finishes executing or triggers a script hang error.
Mute System
Added a new Mute System!
You can mute players through the Quick Mute menu.
You can also mute or unmute players through the Manage Players menu.
You can also manage mutes through the Manage Mutes menu.
Settings
- Added the
Default Min MS Between Tick Waits
settingconfig.system.defaultMinMsBetweenTickWaits
to the Script Settings menu. - Added 4 new options related to the console and chat logs about whether or not a compatible version of the BlueMods Anticheat add-on is on the world to the Script Settings menu.
UIs
- Huge overhaul to the Moderation menu.
- The menu now disabled the non-functional buttons.
- Rearranged the buttons on the menu.
- Added the Quick Actions submenu.
- This submenu contains buttons for quickly banning, kicking, and muting players, and even transferring players to other servers!
- Huge internal structure overhaul to improve performance and make it easier to add new features.
- Added menus for resetting player and preset permissions in Ultra Security Mode.
Ultra Security Mode
Permissions
- Added the
andexdb.bypassTeleportCooldowns
permission to Ultra Security Mode. - Added the
andexdb.transferPlayers
permission to Ultra Security Mode. - Added the
andexdb.mutePlayers
permission to Ultra Security Mode. - Added the
andexdb.unmutePlayers
permission to Ultra Security Mode. - Added the
andexdb.accessManageMutesUI
permission to Ultra Security Mode. - Added the
andexdb.useScriptEval
permission to Ultra Security Mode.
Changes
Commands
- The
\takeitem
command now no longer creates ghost items, unless the newt
flag is used and the slot type is a number or~
. - The
\takeitem
command now takes a target selector instead of a player name. - The
\copyitem
command now takes a target selector instead of a player name. - The
\copyitem
command now allows for multiple targets. - The
\tpa
command now uses the new TPA system. - The
\gmr
command now has a chance to set you to god mode (Game Mode 7). - The
\help
command now displays the URL of the page on the wiki for the command when getting the help for a built-in command.
Performance
- Massive performance improvements to the Money System.
Settings
- Massive overhaul to the Script Settings menu.
- The Module Imports Config now defaults to having everything enabled.
Teleport Systems
- Made it so if Ultra Security Mode is enabled, players with the
andexdb.bypassTeleportCooldowns
permission can bypass the countdown and cooldown for teleports with things such as the homes and warps systems, and if Ultra Security Mode is disabled, then players with theadmin
tag can bypass it.
TPA System
- The TPA system is no longer experimental.
UIs
- Made the "Reset Permissions" button in security menu use the red reset icon instead of the settings icon.
- Made the "Ultra Security Mode Debug" button in the security settings menu use the debug glyph color icon instead of the settings icon.
- The Eval Auto Execute Settings menu now requires the
andexdb.useScriptEval
andandexdb.accessAdvancedSettings
permissions when Ultra Security Mode is enabled (before it only neededandexdb.accessSettings
). - Depecated the Eval Auto Execute Settings menu.
- Added a Done button to the View Raw Data menu of the Edit Custom Area Category menu to allow players using controllers to scroll in the menu.
Removals
Settings
- Removed the
Protected Areas Refresh Rate
option from the Script Settings menu.
Fixes
Commands
- Fixed the
\swapitems
command. - Fixed the
\copyitemfrom
command. - Fixed the
-32768
option for the\enchantmentbarrels
command. - Fixed a bug where the
\\regenerateblocks
command would log1
to the console whenever it was run. - Fixed a bug where the
\\chunk
command set the top and bottom of the selection based on the overworld height limit instead of based on the height limit of the executor's current dimension. - Fixed a bug where the
\\chunk
command set the top of the selection 1 block above the maximum height limit. - Fixed a bug where the
\\protectarea
command would always throw an error saying that the area category was invalid, even when it was valid.
Entities
- Fixed a bug where the
andexdb:tickingarea_6
entity could not be made visible if Entity Scale was not on the world.
Settings
- Fixed a bug where the
Allow Cross-Dimensional Teleport
option (config.teleportSystems.allowCrossDimensionalTeleport
) was labeledEnabled
instead.
UIs
- Fixed a bug where the Manage Bans menu used
config.ui.pages.maxPlayersPerManagePlayersPage
instead ofconfig.ui.pages.maxBansPerManageBansPage
for the number of entries per page. - Fixed a bug where the Redeem Code menu still used the old UI style.
- Fixed a bug where the Bounties Placed By Me menu still used the old UI style.
- Fixed a bug where the Individual Bounties menu still used the old UI style.
- Fixed a bug where the Home Details menu still used the old UI style.
- Fixed a bug where the New Home menu still used the old UI style.
- Fixed a bug where the Individual Player Leaderboard Statistics menu still used the old UI style. (The menu that appears when you click on a player's name in the menu for a specific leaderboard.)
- Fixed a bug where the Ultra Security Mode Debug menu still used the old UI style.
- Fixed a bug where the Manage Permissions Presets menu still used the old UI style.
- Fixed a bug where the Manage Permissions for Player/Preset menu still used the old UI style.
- Fixed a bug where the Manage Permissions for Player/Preset menu had yellow labels for permissions that were enabled on the everyone preset, when editing the permissions for a preset.
- Fixed a bug where the Place Bounty menu threw an error when the player had already placed a bounty on the target, now it shows a warning instead, saying that to do it, they will have to remove the previous bounty first, and it provides and option to do so.
- Fixed a bug where the icon for the View Individual Bounties button was an arrow pointing left instead of right.
- Fixed bugs with the player and server shop systems where some of the menus had not yet been updated to the new UI style.
- Fixed a bug where the Edit Warp menu was called
New Warp
instead ofEdit Warp
. - Fixed a bug where the Warps menu was using the
general
form style instead of themedium
form style. - Fixed a bug where the Homes menu was using the
general
form style instead of themedium
form style. - Fixed a bug where the Leaderboards menu was using the
general
form style instead of themedium
form style. - Fixed a bug where the Leaderboards menu could throw an error if any of the leaderboard buttons were undefined.
- Fixed a bug where the scoreboard-based leaderboards did not work correctly.
- Fixed a bug where the buttons for the warps in the Manage Warps menu would not appear.
- Fixed a bug where the Edit Built-In Statistic menu put you in an infinite loop when trying to use escape or the back button.
- Fixed a bug where the Edit Built-In Statistic menu would go back to the Manage Statistics menu and cause it to be open twice, instead of re-opening itself, upon exiting out of the Settings menu for the statistic.
- Fixed a bug where the Edit Displayed Leaderboards menu rendered the buttons for the leaderboards incorrectly.
- Fixed a bug where the Add ID Ban and Add Name Ban buttons on the Manage Bans menu were not rendered correctly.
- Fixed a bug where the Quick Ban, Quick Kick, Quick Mute, and Quick Transfer menus did not map the button indexes for the back, close, and refresh buttons correctly, causing them to behave unexpectedly.
Technical Additions
API
cmdutils Module
Config
Globals
- Added the
gsend
function. - Added the
gcsend
function. - Added the
pgsend
function. - Added the
pgcsend
function.
Modules
- Added the
modules.moderation
module. - Added the
modules.alea
module (Note: The module was already in the add-on, but was not in themodules
namespace.). - Added the
modules.simplexNoise
module (Note: The module was already in the add-on, but was not in themodules
namespace.).
Permanent Event Subscriptions
- Added a new permanent event subscriptions system.
- The new permanent event subscriptions system allows you to register code that will execute when an event occurs.
- It supports ALL vanilla script API events, and a few custom events.
- It supports the following custom events:
- You can create these permanent event subscriptions either through the script eval or the Manage Event Subscriptions menu.
Technical Changes
- When Entity Scale or BlueMods Anticheat are not detected upon startup, the add-on will now tell you in the console as a warning, rather than a log, so that you don't have to change your log level to see it.
API
cmdutils Module
- Massive performance improvements to the
modules.cmdutils.getSlotFromParsedSlot
function. - Massive performance improvements to the
modules.cmdutils.parseSlot
function.
Config
- Deprecated
config.system.protectedAreasRefreshRate
.
Technical Fixes
Commands
- Fixed a bug where some of the chat commands were using
executeCommandPlayerW.prototype.sendMessageB
to send errors instead ofexecuteCommandPlayerW.prototype.sendError
.