When making a new plugin, make sure you set up your plugin's folder as follows:
OpenplanetNext/
├── Plugins/
│ ├── <PluginName>/
│ │ ├── info.toml| #name "Date Picker" | |
| #author "Greep" | |
| #category "Dev" | |
| // Date and Time Picker in Openplanet | |
| // Uses Time::Info class | |
| // Date picker ported from https://github.com/DnA-IntRicate/ImGuiDatePicker to Openplanet's ImGui API - MIT Licence | |
| // Time picker hand-crafted | |
| [Setting name="Highlight today's date on the calendar"] |
| #name "Vector Color Helper" | |
| #author "Greep" | |
| #category "Utilities" | |
| bool windowOpened = false; | |
| vec3 colorVec3 = vec3(1,1,1); | |
| vec4 colorVec4 = vec4(1,1,1,1); | |
| void RenderMenu() { | |
| if (UI::MenuItem("Vector Color Helper", "", windowOpened)) { |
| #!/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