Skip to content

Latest commit

 

History

History
45 lines (41 loc) · 2.3 KB

TODO.md

File metadata and controls

45 lines (41 loc) · 2.3 KB

High level

  • The async tasks do not have proper synchronization. There isn't proper locking to make sure async stuff runs properly, TODO. Check filesystem saving sync as well.
  • No real API. Most functionality is attached to the Nodes object with intent that this basically acts as API. But not well defined and subject to change.
  • Nodes world state is global variable, so only supports single world. E.g. no separate nodes map for overworld + nether. This is likely not to change since goal is only single map/world.
  • No API for custom node/territory properties.
  • Cannot /nodes reload world. Inconvenient. TODO.
  • Get rid of java.io.File, swap to nio

Nodes

  • Fix moving stuff back into town nodes income inventory
  • Consider attaching node income into income chests/inventories on territories instead of global town income storage. Force players to build supply networks to gather resources from their territories. Adds rp/territory management, potentially cancer to manage tho. So configurable setting.
  • Add guard to disable world interactions if nodes fails to load world. If nodes fails to load territories or towns, then the system world protections will be disabled, giving window for players to modifier protected areas. Add guard event listener that disables world interaction if any error occurs during nodes world loading.

Minimap

  • Port indicator on chunk. Would require a minimap api though since ports are intended to be a plugin...?
  • Chunks with war flags indicator, e.g. flashing or separate minimap symbol

War