Commit Graph

46 Commits (master)

Author SHA1 Message Date
Giov4 7341910502 fixed crash caused by the update_players_counter function 2021-03-04 22:49:56 +01:00
Giov4 5e045e9ca4 Removed legacy support for serialized positions in the maps metadata 2021-03-02 00:22:56 +01:00
Giov4 79edaab56e Optimized custom drop on_step 2021-02-19 11:54:46 +01:00
Giov4 3dbc09b80f Fixed another crash caused by the last commit 2021-02-13 18:25:24 +01:00
Giov4 1be9b65278 removed typo error 2021-02-13 18:06:57 +01:00
Giov4 1ed26b916c (crashfix pt.2) 2021-02-13 18:05:42 +01:00
Giov4 60b6290754 Fixed crash caused by the previous commit 2021-02-13 18:03:03 +01:00
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 3e16ffb923 - _chest_handler/ -> _map_handler/chests
+ Changed time_mode from 2 to decremental
+ Using the new arena_lib.send_message_in_arena function
2021-02-13 12:10:57 +01:00
Giov4 8b8a8542ff Optimized perfomance + code cleaning 2021-02-10 01:42:45 +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 5a9f31ffb0 + GREATLY reduced arena reset duration
+ Using VoxelManip to detect the nodes with an inventory on enable
2021-02-04 15:54:20 +01:00
Giov4 12986e69ff + BUGFIX: it didn't load the area before saving the nodes with an inventory
+ BUGFIX: when a node was broken/placed, it didn't check if it was a skywars arena
2021-02-04 14:53:55 +01:00
Giov4 ebcc17db37 + Particles when a chest gets refilled
+ Localization for the barrier description
2020-12-27 01:14:59 +01:00
Giov4 5be31f6892 + Added SFXs when the match starts/ends
+ Fixed game freeze when a treasure didn't exist
+ Added the barrier node
- Depends.txt
2020-12-26 21:33:46 +01:00
Giov4 fe07f4243e + Auto equip system now supports the drop picking
+ Fixed drops reset system not working if the entity was unloaded
+ Preventing disabling the arena if it is resetting
2020-12-26 16:14:42 +01:00
Giov4 e91c1d557b + CRASHFIX: after using clearmapstable
+ clearmapstable is now clearchangednodes <arena name>
+
2020-12-25 17:28:19 +01:00
Giov4 24c23ee0e9 + Resetting nodes inventories on reset
+ Code cleaning, map_manager split in 3 files
2020-12-25 16:39:20 +01:00
Giov4 cc33e30d61 + Fixed map reset bug when a block was replaced using swap_node
+ Code cleaning
2020-12-25 15:42:26 +01:00
Giov4 b492ae3053 + Now the reset function automatically load the arena mapblocks 2020-11-15 15:49:44 +01:00
Giov4 6cfd235a23 + Fixed reset system crash 2020-11-04 22:03:43 +01:00
Giov4 791df717a1 + Fixed crash, to investigate 2020-11-04 21:42:03 +01:00
Giov4 701ef92c12 + Resetting is_resetting property on mods loaded
+ Code cleaning
2020-11-04 14:44:30 +01:00
Giov4 db07b76c1a + added skywars_settings.nodes_per_tick 2020-11-02 21:43:52 +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 04038dc288 + BIG code cleaning (pt.2)
+ Textures rework
2020-10-24 00:22:48 +02:00
Giov4 680d9780a1 + BIG code refactoring, fixing and cleaning (part 1) 2020-10-23 00:35:26 +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 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 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 a3374c19a7 + Code cleaning 2020-10-19 16:36:26 +02:00
Giov4 4c9b044b43 + Loading arena mapblocks in loading phase
+ Code cleaning
2020-10-19 16:24: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 bb835c7ea7 + FIXED: chests resetting on match start 2020-09-30 19:31:56 +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 4efeafcf70 Fixed: schematic weren't created 2020-09-22 18:19:47 +02:00
Giov4 9c3d944fac + Set jump to 0 while the match is loading
+ Fixed mt schematic placemente not working
2020-09-22 17:52:34 +02:00
Giov4 061bd99c97 + FIXED: exschem not working
+ circle of glass around the player when the match starts
2020-09-22 16:51:26 +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 5be8481c0f Deleted old map_create.lua 2020-09-19 20:43:07 +00: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
Giov4 149f9aa014 + Completed chest system 2020-09-07 23:37:12 +00:00
_Zaizen_ dc71074afd Sistema chest iniziato 2020-07-18 23:18:57 +02:00