GamecraftScripting/README.md

27 lines
1.3 KiB
Markdown
Raw Normal View History

2019-12-13 17:23:30 +00:00
# GamecraftScripting
Python scripting support for Gamecraft
## Installation
2019-12-26 20:23:11 -05:00
[Please follow the official mod installation guide](https://www.exmods.org/guides/install.html)
*IMPORTANT* Extract the zip file in the main Gamecraft directory, *NOT* the Plugins directory.
Also, please install the [GamecraftModdingAPI](https://git.exmods.org/modtainers/GamecraftModdingAPI), otherwise the GamecraftScripting mod will not work.
## Script Development
GamecraftScripting uses IronPython to run Python 2.7 scripts in the Mono/.NET runtime.
2019-12-26 20:23:11 -05:00
To get started with Python 2.7 on Mono, check out the resources below.
Resources
2019-12-26 20:23:11 -05:00
- [Python <-> Mono/.NET interfacing](https://ironpython.net/documentation/dotnet)
- [Python 2.7 docs](https://docs.python.org/2.7)
2020-01-06 15:30:30 -05:00
- [GamecraftModdingAPI Mono/.NET library](https://git.exmods.org/modtainers/GamecraftModdingAPI)
2019-12-26 20:23:11 -05:00
## External Libraries
GamecraftScripting uses the [GamecraftModdingAPI](https://git.exmods.org/modtainers/GamecraftModdingAPI) to modify the behaviour of existing Gamecraft code.
[IronPython](https://github.com/IronLanguages/ironpython2) is used to run Python code in the Mono runtime.
# Disclaimer
This API is an unofficial modification of Gamecraft software, and is not endorsed or supported by FreeJam or Gamecraft.
2020-01-06 15:30:30 -05:00
The GamecraftModdingAPI developer(s) claim no rights on the Gamecraft code referenced within this project.