Skip to content

Instantly share code, notes, and snippets.

View XanderCodes's full-sized avatar
👽
Contemplating the universe

AppleManYT XanderCodes

👽
Contemplating the universe
View GitHub Profile
@XanderCodes
XanderCodes / AppleDoorPermissions.configuration.xml
Created February 18, 2023 01:43
AppleDoorPermissions.configuration.xml
<?xml version="1.0" encoding="utf-8"?>
<PluginConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ChatMessageIconURL>https://i.imgur.com/dJdsvlI.png</ChatMessageIconURL>
<UseRichText>true</UseRichText>
<DoorRaycastMaxRange>15</DoorRaycastMaxRange>
</PluginConfiguration>
@XanderCodes
XanderCodes / stuff.cs
Created January 21, 2023 03:39
Apple's Test Gist
UnturnedChat.Say("bla");
@XanderCodes
XanderCodes / AppleArmorUI.configuration.xml
Created December 4, 2022 04:43
AppleArmorUI Configuration and Translation Examples
<?xml version="1.0" encoding="utf-8"?>
<PluginConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ArmorEffectID>37001</ArmorEffectID>
<ChatMessageIcon>https://i.imgur.com/ZQlRYkF.png</ChatMessageIcon>
</PluginConfig>
@XanderCodes
XanderCodes / PageLoop.vb
Created October 26, 2022 00:24
Vmix Scripts
'Console.WriteLine("stuff!")
dim xml As Object = API.XML()
dim x as new system.xml.xmldocument
'set fake data thing to true so watchdog knows script is running
API.Function("SetText",Input:="LOWER GRID",SelectedName:="DATA.Text",Value:="true")
While true
'API.Function("TitleBeginAnimation",Input:="hs-racedata.02.gtzip",Value:="Page1")
@XanderCodes
XanderCodes / code.cs
Last active June 5, 2022 12:27
Unturned Mod Keybind Handler (thanks Shimmy)
// Credit for this code goes to ShimmyMySherbert - They kindly gave it to me when I asked about this in the ImperialPlugins Discord server.
using System;
using SDG.Unturned;
using UnityEngine;
namespace InputListener
{
public delegate void PlayerKeyInputArgs(Player player, EPlayerKey key, bool down);
@XanderCodes
XanderCodes / create-font.js
Created March 14, 2022 05:21
Super basic image formatter for Unturned Icons (Node.JS)
// This takes the svg's from the other script and converts them to a font using 'svgtofont'
const svgtofont = require('svgtofont');
const path = require('path');
svgtofont({
src: path.resolve(process.cwd(), 'svgs'), // svg path
dist: path.resolve(process.cwd(), 'fonts'), // output path
fontName: 'killfeed-font', // font name
startUnicode: 0x0021, // unicode start number
@XanderCodes
XanderCodes / Example File.md.txt
Last active January 24, 2022 19:08
Example Plugin Files for LDM Plugin Repository
# Hello World!
![alt text](https://news.xbox.com/en-us/wp-content/uploads/sites/2/2020/11/Image1-1.jpg?w=940&resize=1920%2C1080)
This is *awesome*!
?gist https://gist.github.com/XanderCodes/ba0fc3b538eaba574fadd573c61861c2
```
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>