You'll need:
- A web server (hosting static sites)
- Your GDPS
- A brain
Note
Latest versions of DindeGDPS now support web hosts that add blank new lines! GitHub Pages can now be used!
| <?php | |
| function getGMDFile($levelID, $server) { | |
| if(!is_numeric($levelID)) return false; | |
| $post = [ | |
| 'levelID' => $levelID, | |
| 'secret' => 'Wmfd2893gb7', | |
| ]; | |
| $index = [ | |
| "https://www.boomlings.com/database/downloadGJLevel22.php", |
| read -p "GD Path (where there is Resources & geode): " gdpath | |
| read -p "TP Path (Folder): " tppath | |
| rm -rf $tppath/ui | |
| for dir in $tppath/*/; do | |
| [ -d "$dir" ] && cp -rf "$dir" $gdpath/geode/resources | |
| done | |
| cp -rf $tppath/* $gdpath/Resources | |
| <?php | |
| function xorCipher($string, $key) { | |
| $keyLength = strlen($key); | |
| $result = ''; | |
| for ($i = 0; $i < strlen($string); $i++) { | |
| $char = $string[$i]; | |
| $keyChar = $key[$i % $keyLength]; | |
| $result .= chr(ord($char) ^ ord($keyChar)); |
| Notification.requestPermission().then(permission => { | |
| if(permission !== "granted") return; // User refused notifications | |
| const image = "https://dgdps.ix.tc/gd.png"; // Logo for notification | |
| const target = "https://dgdps.us.to"; // Website to open if user clicks on it | |
| const title = "Test"; // Notification title | |
| const msg = "Salut"; // Notification body message | |
| const notify = new Notification(title, { body: msg, icon: image }); // Builds notification | |
| notify.onclick = function () { | |
| window.open(target); // Open site | |
| notify.close(); // Closes notification (x) |