mix gamend.gdscript.new (gamend_plugin_tools v1.0.1217)

Copy Markdown View Source

Creates a plugin whose hooks are written in GDScript.

mix gamend.gdscript.new my_game

Produces a directory that already compiles and loads:

my_game/
  scripts/my_game.gd    # write hooks here
  gen/                  # generated Elixir, committed
  mix.exs               # hooks_module already wired
  .formatter.exs
  .gitignore

Then:

cd my_game
mix deps.get
mix bundle

and copy the directory into the server's plugin directory (modules/plugins/ by default, or wherever GAMEND_CONTENT_PLUGINS_DIR points).