When making a new plugin, make sure you set up your plugin's folder as follows:
OpenplanetNext/
├── Plugins/
│ ├── <PluginName>/
│ │ ├── info.toml| #!/bin/bash | |
| # Delete old log files | |
| sudo find /var/log -type f -name "*.gz" -exec rm -f {}; | |
| sudo find /var/log -type f -name "*.log.*" -exec rm -f {} \; | |
| sudo find /var/log -type f -name "*.1" -exec rm -f {} \; | |
| # Delete temporary files | |
| sudo rm -rf /tmp/* |
| process.on('SIGINT', exit); // CTRL+C | |
| process.on('SIGQUIT', exit); // Keyboard quit | |
| process.on('SIGTERM', kill); // `kill` command | |
| process.on('SIGWINCH', exit); // docker down or else idk | |
| function exit() { | |
| console.log("Exiting..."); | |
| DB.end().then(process.exit(0)) | |
| .catch(err=>{ | |
| console.error("MariaDB End connexion error:", err); |
Create a file on UserData/Scripts/Modes/Trackmania/collisions.Script.txt , with the content on file linked with this gist
Then you need to edit your matchsettings file like this :
<playlist>
<gameinfos>
<script_name>Trackmania/collisions.Script.txt</script_name>
</gameinfos>
| Import-Module posh-git | |
| Import-Module oh-my-posh | |
| $download_url = "https://gist.githubusercontent.com/GreepTheSheep/db86ae95ed0c4d5958eac6a83dd6be72/raw/thegreepone.omp.json" | |
| $local_path = "C:/Users/%username%/Documents/PowerShell/thegreepone.omp.json" | |
| $WebClient = New-Object System.Net.WebClient | |
| $WebClient.DownloadFile($download_url, $local_path) | |
| Set-PoshPrompt -Theme "~/Documents/PowerShell/thegreepone.omp.json" |
sudo apt install gcc make perl dkmssudo sh /media/cdrom0/VBoxLinuxAdditions.run