From 2ff2895efddc348f30f980e03f1bef1bedba4407 Mon Sep 17 00:00:00 2001 From: Alexander J Date: Mon, 28 Feb 2022 19:12:33 +0100 Subject: [PATCH] commit message --- .eslintrc.cjs | 20 + .gitignore | 8 + .npmrc | 1 + README.md | 40 + mdsvex.config.js | 14 + package.json | 28 + src/app.d.ts | 13 + src/app.html | 13 + src/assets/global.css | 46 + src/lib/Header.svelte | 16 + src/routes/__layout.svelte | 19 + src/routes/donate.md | 17 + src/routes/gameservers.md | 52 ++ src/routes/index.md | 15 + src/routes/rules.md | 55 ++ static/favicon.png | Bin 0 -> 1571 bytes svelte.config.js | 19 + tsconfig.json | 36 + yarn.lock | 1665 ++++++++++++++++++++++++++++++++++++ 19 files changed, 2077 insertions(+) create mode 100644 .eslintrc.cjs create mode 100644 .gitignore create mode 100644 .npmrc create mode 100644 README.md create mode 100644 mdsvex.config.js create mode 100644 package.json create mode 100644 src/app.d.ts create mode 100644 src/app.html create mode 100644 src/assets/global.css create mode 100644 src/lib/Header.svelte create mode 100644 src/routes/__layout.svelte create mode 100644 src/routes/donate.md create mode 100644 src/routes/gameservers.md create mode 100644 src/routes/index.md create mode 100644 src/routes/rules.md create mode 100644 static/favicon.png create mode 100644 svelte.config.js create mode 100644 tsconfig.json create mode 100644 yarn.lock diff --git a/.eslintrc.cjs b/.eslintrc.cjs new file mode 100644 index 0000000..13b6414 --- /dev/null +++ b/.eslintrc.cjs @@ -0,0 +1,20 @@ +module.exports = { + root: true, + parser: '@typescript-eslint/parser', + extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'], + plugins: ['svelte3', '@typescript-eslint'], + ignorePatterns: ['*.cjs'], + overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }], + settings: { + 'svelte3/typescript': () => require('typescript') + }, + parserOptions: { + sourceType: 'module', + ecmaVersion: 2020 + }, + env: { + browser: true, + es2017: true, + node: true + } +}; diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f4401a3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +.DS_Store +node_modules +/build +/.svelte-kit +/package +.env +.env.* +!.env.example diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..b6f27f1 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/README.md b/README.md new file mode 100644 index 0000000..94a48f5 --- /dev/null +++ b/README.md @@ -0,0 +1,40 @@ +# create-svelte + +Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte). + +## Creating a project + +If you're seeing this, you've probably already done this step. Congrats! + +```bash +# create a new project in the current directory +npm init svelte@next + +# create a new project in my-app +npm init svelte@next my-app +``` + +> Note: the `@next` is temporary + +## Developing + +Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: + +```bash +npm run dev + +# or start the server and open the app in a new browser tab +npm run dev -- --open +``` + +## Building + +To create a production version of your app: + +```bash +npm run build +``` + +You can preview the production build with `npm run preview`. + +> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment. diff --git a/mdsvex.config.js b/mdsvex.config.js new file mode 100644 index 0000000..5cdd1d0 --- /dev/null +++ b/mdsvex.config.js @@ -0,0 +1,14 @@ +import { defineMDSveXConfig as defineConfig } from "mdsvex"; + +const config = defineConfig({ + extensions: [".svelte.md", ".md", ".svx"], + + smartypants: { + dashes: "oldschool", + }, + + remarkPlugins: [], + rehypePlugins: [], +}); + +export default config; diff --git a/package.json b/package.json new file mode 100644 index 0000000..415f37a --- /dev/null +++ b/package.json @@ -0,0 +1,28 @@ +{ + "name": "mcserverwebsite", + "version": "0.0.1", + "scripts": { + "dev": "svelte-kit dev", + "build": "svelte-kit build", + "package": "svelte-kit package", + "preview": "svelte-kit preview", + "check": "svelte-check --tsconfig ./tsconfig.json", + "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch", + "lint": "eslint --ignore-path .gitignore ." + }, + "devDependencies": { + "@sveltejs/adapter-auto": "next", + "@sveltejs/kit": "next", + "@typescript-eslint/eslint-plugin": "^5.10.1", + "@typescript-eslint/parser": "^5.10.1", + "eslint": "^7.32.0", + "eslint-plugin-svelte3": "^3.2.1", + "svelte": "^3.44.0", + "svelte-check": "^2.2.6", + "svelte-preprocess": "^4.10.1", + "tslib": "^2.3.1", + "typescript": "~4.5.4", + "mdsvex": "^0.10.5" + }, + "type": "module" +} diff --git a/src/app.d.ts b/src/app.d.ts new file mode 100644 index 0000000..7090ee7 --- /dev/null +++ b/src/app.d.ts @@ -0,0 +1,13 @@ +/// + +// See https://kit.svelte.dev/docs/typescript +// for information about these interfaces +declare namespace App { + interface Locals {} + + interface Platform {} + + interface Session {} + + interface Stuff {} +} diff --git a/src/app.html b/src/app.html new file mode 100644 index 0000000..d8ed254 --- /dev/null +++ b/src/app.html @@ -0,0 +1,13 @@ + + + + + + + + %svelte.head% + + +
%svelte.body%
+ + diff --git a/src/assets/global.css b/src/assets/global.css new file mode 100644 index 0000000..edfde9c --- /dev/null +++ b/src/assets/global.css @@ -0,0 +1,46 @@ +@import url('https://fonts.googleapis.com/css2?family=Comfortaa&family=Quicksand:wght@500&display=swap'); + +body { + background-color: #101010; + color: white; + font-family: 'Comfortaa', sans-serif +} + +a { + color: #ce1818; + text-decoration: none; +} +a.hover { + color: rgb(233, 110, 110); +} +a.visited { + color: #5f1919; +} + +.card { + display: flex; + justify-content: space-evenly; +} + +.card > div { + word-wrap: break-word; + margin: 50px; + padding: 20px; + border-radius: 25px; + background-color: #252525; + box-shadow: 0 0 5px 5px #252525; +} + +.gameserversCardTitle, .centreofattention { + text-align: center; +} + +#wordwrappedlongthingaaa { + word-wrap: break-word; +} + +@media (max-width: 800px) { + .card { + flex-direction: column; + } +} \ No newline at end of file diff --git a/src/lib/Header.svelte b/src/lib/Header.svelte new file mode 100644 index 0000000..32e73c3 --- /dev/null +++ b/src/lib/Header.svelte @@ -0,0 +1,16 @@ +
+ MutaTechTips + | + Games + | + Donate +
+ + \ No newline at end of file diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte new file mode 100644 index 0000000..9124b08 --- /dev/null +++ b/src/routes/__layout.svelte @@ -0,0 +1,19 @@ + + +MutaTechTips + +
+ +
+ +
+ + \ No newline at end of file diff --git a/src/routes/donate.md b/src/routes/donate.md new file mode 100644 index 0000000..52e328c --- /dev/null +++ b/src/routes/donate.md @@ -0,0 +1,17 @@ +--- +title: Donate to MutaTechTips +--- +# {title} +## Our donation methods + +# please do +If you donate, we will be more motivated to work on the server and host more stuff and maybe even get more hardware. I really recommend you donate any spare money you have if you enjoyed our services, like if you had so much fun on our Garry's Mod server (cause I've had a lot of fun there) + +# yeah sure I'll donate. links? +LiberaPay: Donate using Liberapay + +Monero: 47L7Qsto7XcifY3CdG18ySe5Tt83kpFLDLve9jQwbc9taPBLNGv6ZrJNUKpMG9Nj9zHgCZ4FQMSyt75e8Jvx12JFLtJyFdA + + \ No newline at end of file diff --git a/src/routes/gameservers.md b/src/routes/gameservers.md new file mode 100644 index 0000000..dd75fb5 --- /dev/null +++ b/src/routes/gameservers.md @@ -0,0 +1,52 @@ +--- +title: Our Gameservers +--- +# {title} +## The places to release good chemicals in your brain + +
+ Please use common sense when playing on our servers. (What is common sense?) +
+ Our Discord server +
+
+ +
+

Half-Life 2 Deathmatch

+ Server name in browser list: MutaToiletTips +
+ Almost pure vanilla hl2dm server where you can have lots of fun chucking toilets at people +
+ Connect to the server using this link +
+ GameTracker Link +
+
+

Ricochet

+ Server name in browser list: MutaRicochetTips +
+ Our mission is to become the #1 Ricochet server in the world. It probably already is. +
+ Connect to the server using this link +
+
+
+

Half-Life: Deathmatch

+ Server name in browser list: MutaCascadeTips +
+ Fun, casual Half-Life: Deathmatch. Perfect for when you dig out that old computer you found in your attic. +
+ Connect to the server using this link +
+ GameTracker Link +
+
+ \ No newline at end of file diff --git a/src/routes/index.md b/src/routes/index.md new file mode 100644 index 0000000..6102626 --- /dev/null +++ b/src/routes/index.md @@ -0,0 +1,15 @@ +--- +title: MutaTechTips +--- +# {title} +## 3 idiots with an insanely good server. + +# what +We are 3 teenagers who have a powerful server. What do we do with this server? Host game servers and random assortment of privacy respecting tools like Invidious, Nextcloud, Matrix etc.... + +# shut up nerd, I want to play games. Give me your ips!!!! +There should be a navbar on the top. + + \ No newline at end of file diff --git a/src/routes/rules.md b/src/routes/rules.md new file mode 100644 index 0000000..c7bb25f --- /dev/null +++ b/src/routes/rules.md @@ -0,0 +1,55 @@ +--- +title: Our Rules +--- +# {title} +## Follow these or you're dumb + +### Section 1 - General +1. Do not destroy other's bases. +2. Do not harass other users. +3. Do not use anything that could put others at a disadvantage (xray, cheats, exploits like duping etc) +4. You are not allowed to automate processes like fishing while you're away from your keyboard (you are allowed to do something else while you're fishing though, like be on your phone, but you must fish manually without the use of any software.) +5. Do not kill people for no reason. If you hit someone, then they are allowed to fight back, even if it was an accident. + +### Section 2 - Island/Area Claims +#### You can claim islands for yourself. Here's the rules for that though: +1. You can't claim islands the size of fucking Russia. +2. You may only have max 8 islands, but if they're all massive, your max is 3. +3. Your islands must be visible on dynmap (use a sign with [dynmap] on the start) +4. An island owner may kill anyone on sight. + +### Section 3 - Trading +1. If someone is in the process of trading, you cannot be near them (be at least 5 blocks apart). +2. If you picked up an item that was being traded, give it back. If you do not give it back in at least 10 seconds, the people who trading are allowed to kill you. +3. Do not deal damage to anyone who is trading. +4. If you're trading, please advertise it in the chat. + +### Section 4 - Wars +1. You are allowed to start wars against alliances and people for reasons like stealing your things, destroying your stuff, and killing your dog (Oh also by the way if you kill a dog the owner is allowed to go John Wick on you) +2. Alliances are allowed to start wars against other alliances without needing a reason. +3. Do not log out during combat. +4. Do not attempt to trap people who have logged out during a war. They could have disconnected for multiple reasons, it's not always because they don't want to fight. +5. You may not start wars or raid a base owned by someone who is offline. +6. You are allowed to bypass the max claims limit in case you want to set up a temporary claimed area for basing during a war. +### Section 5 - Alliances +1. Alliances are allowed to have one island only. (Except in special cases, please negotiate with an admin about this if you feel like you need two) +2. Alliances must be clearly advertised. (I'll try to make something in for this) +3. Alliances are allowed to go at war, but this must be for a reasonable reason (Not something petty like someone going on your island) +4. Alliances can go against other alliances for any reason though. + +### Section 6 - Griefing +1. Do not destroy villages for no reason. +2. Do not destroy other's crops. If you accidentally step on one, please replant. If you can't, please say so in the chat. +3. Do not make massive useless buildings unless it's on your island/claimed area. Things like lavacasts are only permitted on your areas. +4. Do not burn or explode public buildings. This is very unacceptable. + +### Section 7 - Traps +1. Do not trap nether portals. This means don't place obisidan or any other blocks that could trap people inside your nether portal. +2. Don't be into traps - what the fuck that's kinda gay pal + +### Section 8 - Bases +1. Do not attempt to bypass base protection like [Private] signs on doors. +2. You are not allowed to destroy bases. I mean, it would be fun, but like, it probably took them lots of time. + \ No newline at end of file diff --git a/static/favicon.png b/static/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..825b9e65af7c104cfb07089bb28659393b4f2097 GIT binary patch literal 1571 zcmV+;2Hg3HP)Px)-AP12RCwC$UE6KzI1p6{F2N z1VK2vi|pOpn{~#djwYcWXTI_im_u^TJgMZ4JMOsSj!0ma>B?-(Hr@X&W@|R-$}W@Z zgj#$x=!~7LGqHW?IO8+*oE1MyDp!G=L0#^lUx?;!fXv@l^6SvTnf^ac{5OurzC#ZMYc20lI%HhX816AYVs1T3heS1*WaWH z%;x>)-J}YB5#CLzU@GBR6sXYrD>Vw(Fmt#|JP;+}<#6b63Ike{Fuo!?M{yEffez;| zp!PfsuaC)>h>-AdbnwN13g*1LowNjT5?+lFVd#9$!8Z9HA|$*6dQ8EHLu}U|obW6f z2%uGv?vr=KNq7YYa2Roj;|zooo<)lf=&2yxM@e`kM$CmCR#x>gI>I|*Ubr({5Y^rb zghxQU22N}F51}^yfDSt786oMTc!W&V;d?76)9KXX1 z+6Okem(d}YXmmOiZq$!IPk5t8nnS{%?+vDFz3BevmFNgpIod~R{>@#@5x9zJKEHLHv!gHeK~n)Ld!M8DB|Kfe%~123&Hz1Z(86nU7*G5chmyDe ziV7$pB7pJ=96hpxHv9rCR29%bLOXlKU<_13_M8x)6;P8E1Kz6G<&P?$P^%c!M5`2` zfY2zg;VK5~^>TJGQzc+33-n~gKt{{of8GzUkWmU110IgI0DLxRIM>0US|TsM=L|@F z0Bun8U!cRB7-2apz=y-7*UxOxz@Z0)@QM)9wSGki1AZ38ceG7Q72z5`i;i=J`ILzL z@iUO?SBBG-0cQuo+an4TsLy-g-x;8P4UVwk|D8{W@U1Zi z!M)+jqy@nQ$p?5tsHp-6J304Q={v-B>66$P0IDx&YT(`IcZ~bZfmn11#rXd7<5s}y zBi9eim&zQc0Dk|2>$bs0PnLmDfMP5lcXRY&cvJ=zKxI^f0%-d$tD!`LBf9^jMSYUA zI8U?CWdY@}cRq6{5~y+)#h1!*-HcGW@+gZ4B};0OnC~`xQOyH19z*TA!!BJ%9s0V3F?CAJ{hTd#*tf+ur-W9MOURF-@B77_-OshsY}6 zOXRY=5%C^*26z?l)1=$bz30!so5tfABdSYzO+H=CpV~aaUefmjvfZ3Ttu9W&W3Iu6 zROlh0MFA5h;my}8lB0tAV-Rvc2Zs_CCSJnx@d`**$idgy-iMob4dJWWw|21b4NB=LfsYp0Aeh{Ov)yztQi;eL4y5 zMi>8^SzKqk8~k?UiQK^^-5d8c%bV?$F8%X~czyiaKCI2=UH