# ChangeLog
# v1.2.0 [Latest]:
Date: 18/11/2022
- Added
config.yml
with the following options:
- Change command procedure time limit.
- Change
variables
data path.
- Change
commands
&recyclebin
data path.- Added
hasPermission()
function.- Added
getBalance()
function.- Added
getPrefix()
function.- Added
playSound()
function.- Added
error
event.- Added support for
else
&elseif
.- Added support for comments within the code lines.
- Added missing documents in
/acodes help
forglobal
variables and comments.getRank()
function now usesPurePerms
plugin instead ofRanksAndPermissions
.- Line breaks (
\n
) now work everywhere rather than only in some functions.- Fixed URL output being shown to console when using the
getUrl()
function.- Fixed errors being displayed when a variable isn't defined when using the
isSet()
function.- Fixed
decodeJson()
function not returning an array.- Fixed server crashing if
getUrl()
failed.- Fixed server crashing when deleting a command that got restored from the recycle bin.
- Fixed the ability of creating commands with spaces in them.
# v1.1.2:
Date: 29/10/2022
- Added an online Text Editor (opens new window).
- Added new function
sendToast()
.- Made
/acodes list
replace color codeยง
with&
so code output looks better.- Fixed bug with
isSet()
function that displayed errors when it shouldn't.- Fixed bug when doing calculations with strings that use
" "
instead of' '
.
# v1.1.1:
Date: 8/10/2022
- Fixed first parameter of
sendForm()
function never able to find the player.- Fixed being able to change the second apostrophe of a string's color in
/acodes list
.- Fixed missing apostrophe in
saveData()
example.
# v1.1.0:
Date: 9/9/2022
- Added new entities system, you can now spawn entities and control them to do various actions.
- Added
setHealth()
,setHunger()
,setXP()
and removedsetInformation()
.- Added
setContainerItems()
,setSignText()
and removedsetBlockContent()
.- All functions have been split to 4 categories (
Code
,Entity
,Player
,World
) due to the large amount of functions.- Damage cause in
damage
andentity-damage
event now returns the name of the cause rather than a number.- Fixed server crashing upon deleting an unregistered command.
- Fixed procedure not getting removed from
/acodes running
when getting into an exception error.- Various bug fixes.
# v1.0.4:
Date: 12/8/2022
- Added
/acodes register
- Added
/acodes unregister
- Added
/acodes run
- Added different colors for unregistered commands and commands that override other commands in
/acodes list
- Updated getting players system in functions to fix bugs
- Fixed
if-statement
1 liners ignoring all lines after if the condition wasfalse
# v1.0.3:
Date: 12/8/2022
- Added support for using
$array$[<index>+]
- Fixed being able to use
/
and\
in file names (ingetData()
anddeleteData()
- Added
"slot"
in result array ingetItemInHand()
# v1.0.2:
Date: 12/8/2022
- Changed
notin
to!in
- Fixed
in
,!in
,and
, andor
being detected as condition operators in function names- Fixed being able to use
/
and\
insaveData()
function- New ID system for procedures, which fixes some unexpected crashes upon running a command
- Added
getPlayer()
function
# v1.0.1:
Date: 6/8/2022
- Fixed crash when running
/acodes help functions
- Fixed crash when using the
getBlock()
function
# v1.0.0:
Date: 6/8/2022
- Initial release of AcsrelCodes