Commit Graph

58 Commits (master)

Author SHA1 Message Date
Giov4 c924247079 + Using hashes as keys to save changed nodes positions instead of serialized tables in the maps metadata 2021-02-13 16:35:08 +01:00
Giov4 22f7a4f8f4 + Help sections is now clearer
+ Players get killed 5 nodes before the end of the region defined by min/max_pos
2021-02-04 16:21:08 +01:00
Giov4 94ab778f3a Small fixes 2021-01-21 22:26:44 +01:00
Giov4 49318c0dd8 + Added fast enable cmd description and a message after using it 2020-12-25 17:46:30 +01:00
Giov4 e91c1d557b + CRASHFIX: after using clearmapstable
+ clearmapstable is now clearchangednodes <arena name>
+
2020-12-25 17:28:19 +01:00
Giov4 53f9176396 + Added fast enable cmd 2020-12-25 17:11:49 +01:00
Giov4 c267f47d76 + Added a new kit texture
+ kittexture cmd, to edit a kit texture after creating it
+ Textures names cleaning
- Useless setting
2020-12-21 16:21:08 +01:00
Giov4 bfbac33a9d Fixed the chest id generation 2020-12-21 15:53:07 +01:00
Giov4 ecb1e283ec Fixed the treasures id generation system not always working 2020-12-21 15:24:50 +01:00
Giov4 981b02ffaa Added cmds filter treasures preciousness/rarity/preciousness+rarity 2020-12-21 15:04:16 +01:00
Giov4 2bc2bb4f0e CRASHFIX: using "list" cmd, for real this time 2020-12-08 01:16:12 +01:00
Giov4 b65679cc79 + CRASHFIX: using "list" cmd
+ Resetting the map and removing privs on celebration rather than on end
2020-12-08 00:34:04 +01:00
Giov4 762943db0d + Improved textures 2020-11-13 10:25:08 +01:00
Giov4 2805cc2542 + Recursive teleporting now teleport every 3 seconds 2020-11-13 00:52:23 +01:00
Giov4 d678c69bc7 + Fixed /addchest cmd 2020-11-09 21:31:17 +01:00
Giov4 8ca972ba9e Yeah I'm stupid, fixed the didn't working create cmd fix 2020-11-09 20:00:27 +01:00
Giov4 3a90112ced + CRITICAL BUG FIX: Create cmd didn't work 2020-11-09 19:52:20 +01:00
Giov4 701ef92c12 + Resetting is_resetting property on mods loaded
+ Code cleaning
2020-11-04 14:44:30 +01:00
Giov4 ad3f9b5261 + Reset system now async!
+ Added tests for the map reset system
+ Fixed get_arena_by_pos()
+ Code cleaning and optimizations
- Debug messages translations
2020-11-02 18:13:45 +01:00
Giov4 2b8222cc40 + fixed addtreasure cmd
+ simplified counters textures
2020-10-26 11:19:09 +01:00
Giov4 680d9780a1 + BIG code refactoring, fixing and cleaning (part 1) 2020-10-23 00:35:26 +02:00
Giov4 197c69a907 + Various fixes to copykits and copytreasures cmds 2020-10-22 22:38:03 +02:00
Giov4 71b2d7e8ac + fixed get_looking_node_pos crash on error
- debug logs
2020-10-22 12:25:45 +02:00
Giov4 3dfb97eab8 + Fixed get_arena_by_pos and moved some functions into init.lua 2020-10-22 12:23:32 +02:00
Giov4 2d66094a01 + Refactoring and code cleaning 2020-10-21 15:14:29 +02:00
Giov4 ca4a8395da + Fixed tutorial cmd 2020-10-21 14:57:08 +02:00
Giov4 b666a6b2cc + Code cleaning (get_wielded_item)
+ get_looking_node -> get_looking_node_pos
2020-10-21 14:55:09 +02:00
Giov4 430708d5ac + inspect cmd (to inspect a chest)
+ kit background width/height properties
- tutorial from the cmds
  now /tutorial tells the user to look at the file
+ moved local functions at the end of the source files
+ now addchest and removechest cmds don't require the
  player to specify the arena anymore
- addchest pos cmd
+ tutorial fixes
+ code cleaning
2020-10-21 14:31:21 +02:00
Giov4 a479580ace - debug log 2020-10-20 23:10:07 +02:00
Giov4 9edbd25b61 + Fixed reset cmd 2020-10-20 22:04:26 +02:00
Giov4 7116333bd5 + fixed @ not returning the correct arena name
+ code cleaning
2020-10-20 21:28:53 +02:00
Giov4 ad14f0107f + @ instead of arena name to get the one you're stading in
+ arena lib 4.0 timers
+ code cleaning
2020-10-20 21:00:34 +02:00
Giov4 c2265c1efc + Optimized treasures sorting
+ Removed unused function
2020-10-15 21:00:18 +02:00
Giov4 fa68f4db40 + Code cleaning
+ Bug fixes
+ Cmds corrections
+ Comments corrections
2020-10-11 15:22:54 +02:00
Giov4 15245337a2 + Build permission setting
+ Removing drops when resetting a map
+ removeitem and removetreasure hand cmds
+ clearmapstable debug cmd
+ Translations corrections and cmd messages improved
+ Code cleaning
2020-10-01 19:54:39 +02:00
Giov4 8b9bb5da43 + Reworked map reset system, it doesn't use schematics anymore
- Support for exschem
2020-09-29 21:30:53 +02:00
Giov4 5c520052f5 + CRASHFIX: when the arena kits property had an invalid kit
+ Modified additem hand msg
+ Improved the code spawning the glass around the player
+ Fixed: noclip now gets given back on_celebration and on_death too
2020-09-23 16:45:32 +02:00
Giov4 d34a4cce29 + CRASHFIX: removeitem made the server crash
+ resetkit cmd
+ Now the glass around the player is automatically removed
  when the match starts
2020-09-23 14:55:12 +02:00
Giov4 f9b155dc41 + CRASHFIX: when 3d_armor wasn't installed
+ remove_armors_on_join setting
+ addchest checks if the chest already exists
+ removechest can be used looking at the chest
2020-09-22 16:32:27 +02:00
Giov4 7e2ba29a41 - Hotbar 3d_armor implementation
+ Exschem support
2020-09-21 21:48:58 +02:00
Giov4 dc03d0476b + FIXED: removetreasures not working properly
+ Balanced rarirty system
+ Code cleaning
2020-09-20 14:24:12 +02:00
Giov4 3b9b387280 + Now the treasures have an id property instead of using their position
in the table
+ Fixed: id generation system
+ Renamed skywars.remove_all with skywars.remove_all_armor
+ Fixed: player used to slide when he/she got teleported in the arena
+ Now the armor gets removed even on /forceend
2020-09-19 18:46:17 +02:00
Giov4 533337dc82 Added addchest pos to the help section 2020-09-19 15:33:27 +02:00
Giov4 265241a3c7 + CRASHFIX: If a chest couldn't spawn any treasure the game freezed
+ Reworked rarity system, now the range is from 1 to 10 and the rarity
  gap is handled by the mod
+ Now it's possible to equip an armor from on_place too
+ BUGFIX: Chests id weren't generated properly
+ Now addchest takes the position of the node the player's looking at
  (the old cmd is now callded "addchest pos")
+ Help section corrected
+ Code cleaning
2020-09-19 15:31:25 +02:00
Giov4 647f57242a Added support for 3d_armor mod:
+ Custom hotbar equipment system
2020-09-18 23:51:20 +02:00
Giov4 329a240973 + Fixed the amount of items spawning in chests
+ Now removeitem removes all the item with that name
2020-09-17 01:48:54 +02:00
Giov4 72b7ef8cdc + Added arena_in_edit_mode check for cmds
+ Added additem hand cmd
+ Differentiated the arena misconfiguration messages
2020-09-17 00:58:56 +02:00
Giov4 d808a76bf8 Modified incoherent command syntax 2020-09-16 23:06:15 +02:00
Giov4 65056fee35 + Added timer to arenas
+ Added new cmds and improved the old ones
+ Modified some messages
2020-09-16 23:03:49 +02:00
Giov4 1f9da7b94b + Updated kit selector textures
+ Now /pos1 and /pos2 can be used everywhere
+ When a player goes out the arena he/she gets killed
2020-09-16 18:09:06 +02:00