Skip to content

Commit

Permalink
Merge pull request #12 from MapleAtMorning/configs
Browse files Browse the repository at this point in the history
Config Page
  • Loading branch information
MapleAtMorning authored Aug 21, 2024
2 parents 437d5e7 + 5b9099d commit 8e753ff
Show file tree
Hide file tree
Showing 24 changed files with 709 additions and 23 deletions.
37 changes: 23 additions & 14 deletions commands.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<meta name="description" content="The Unofficial Games Unite Website. Features, Commands, FAQ, Weapons.">
<meta name="description" content="The Unofficial Games Unite Website. Features, Commands, FAQ, Configs.">
<meta name="keywords" content="roblox, roblox shooter, shooter, guns, game, roblox game, games unite, games, unite">

<!-- Google tag (gtag.js) -->
Expand All @@ -30,7 +30,7 @@

<!-- Twitter/Social Embed -->
<meta name="twitter:title" content="Games Unite | Commands">
<meta name="twitter:description" content="The Unofficial Games Unite Website. Features, Commands, FAQ, Weapons.">
<meta name="twitter:description" content="The Unofficial Games Unite Website. Features, Commands, FAQ, Configs.">
<meta name="twitter:image" content="https://gamesunite.dev/img/screenshots/KnifeInspect.webp">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@MapleAtMorning">
Expand Down Expand Up @@ -112,10 +112,12 @@
<li><a href="javascript:scrollFunc('sv_remove_owner')">sv_remove_owner</a></li>
<li><a href="javascript:scrollFunc('gamemode')">gamemode</a></li>
<li><a href="javascript:scrollFunc('gamemodes')">gamemodes</a></li>
<li><a href="javascript:scrollFunc('mp_restartgame')">mp_restartgame</a></li>
<li><a href="javascript:scrollFunc('map')">map</a></li>
<li><a href="javascript:scrollFunc('maps')">maps</a></li>
<li><a href="javascript:scrollFunc('mp_restartgame')">mp_restartgame</a></li>
<li><a href="javascript:scrollFunc('mp_disable_shooting')">mp_disable_shooting</a></li>
<li><a href="javascript:scrollFunc('mp_pause_time')">mp_pause_time</a></li>
<li><a href="javascript:scrollFunc('mp_set_round_time')">mp_set_round_time</a></li>
</ul>
</div>
<div>
Expand All @@ -138,7 +140,6 @@
</nav>
</header>

<!-- Modal Body -->
<gu-cookies></gu-cookies>

<main>
Expand Down Expand Up @@ -257,10 +258,6 @@ <h4 title="Copy">gamemode - &lt;gamemode_name&gt;</h4>
<h4 title="Copy">gamemodes - (optional) &lt;filter&gt;</h4>
<p>Prints out all gamemodes.</p>
</div>
<div id="mp_restartgame">
<h4 title="Copy">mp_restartgame</h4>
<p>Restarts the gamemode.</p>
</div>
<div id="map">
<h4 title="Copy">map - &lt;map_name&gt;</h4>
<p>Sets the current map. Some maps may not be compatible with some gamemodes.</p>
Expand All @@ -269,16 +266,28 @@ <h4 title="Copy">map - &lt;map_name&gt;</h4>
<h4 title="Copy">maps - (optional) &lt;filter&gt;</h4>
<p>Prints out all maps.</p>
</div>
<div id="mp_restartgame">
<h4 title="Copy">mp_restartgame</h4>
<p>Restarts the gamemode.</p>
</div>
<div id="mp_disable_shooting">
<h4 title="Copy">mp_disable_shooting - (0/1) &lt;value&gt;</h4>
<p>Disables Shooting.</p>
</div>
<div id="mp_pause_time">
<h4 title="Copy">mp_pause_time - (true/false) &lt;toggle&gt;</h4>
<p>Pauses the game timer.</p>
</div>
<div id="mp_set_round_time">
<h4 title="Copy">mp_set_round_time - &lt;value&gt;</h4>
<p>Sets the round time to a specific value. This also resets the round timer.</p>
</div>
</div>

<div>
<h3 id="crosshair_cmds">Crosshair</h3>
<div id="crosshair_alpha">
<h4 title="Copy">crosshair_alpha - &lt;value&gt;</h4>
<h4 title="Copy">crosshair_alpha - (0-1) &lt;value&gt;</h4>
<p>Sets the transparency of the threads on your crosshair.</p>
</div>
<div id="crosshair_color">
Expand All @@ -295,15 +304,15 @@ <h4 title="Copy">crosshair_size - &lt;value&gt;</h4>
<p>Sets the size of the threads on your crosshair.</p>
</div>
<div id="crosshair_t">
<h4 title="Copy">crosshair_t - (0-1) &lt;value&gt;</h4>
<h4 title="Copy">crosshair_t - (0/1) &lt;value&gt;</h4>
<p>Disables the topmost thread on your crosshair.</p>
</div>
<div id="crosshair_thickness">
<h4 title="Copy">crosshair_thickness - &lt;value&gt;</h4>
<p>Sets the thickness of the threads on your crosshair.</p>
</div>
<div id="crosshair_dot">
<h4 title="Copy">crosshair_dot - (0-1) &lt;value&gt;</h4>
<h4 title="Copy">crosshair_dot - (0/1) &lt;value&gt;</h4>
<p>Sets whether your crosshair has a dot or not.</p>
</div>
<div id="crosshair_dot_alpha">
Expand All @@ -315,7 +324,7 @@ <h4 title="Copy">crosshair_dot_size - &lt;value&gt;</h4>
<p>Sets the size of the dot on your crosshair.</p>
</div>
<div id="crosshair_outline">
<h4 title="Copy">crosshair_outline - (0-1) &lt;value&gt;</h4>
<h4 title="Copy">crosshair_outline - (0/1) &lt;value&gt;</h4>
<p>Sets whether your crosshair has outlines or not.</p>
</div>
<div id="crosshair_outline_alpha">
Expand Down Expand Up @@ -370,11 +379,11 @@ <h4 title="Copy">net_graph - (0/1/2) &lt;value&gt;</h4>
<p>Show in depth information about the client and the server.</p>
</div>
<div id="kill">
<h4 title="Copy">kill*</h4>
<h4 title="Copy">kill *</h4>
<p>Die. You die. That's it.</p>
</div>
<div id="explode">
<h4 title="Copy">explode*</h4>
<h4 title="Copy">explode *</h4>
<p>Kaboom. You explode.</p>
</div>
<div id="impulse101">
Expand Down
120 changes: 120 additions & 0 deletions configs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Games Unite | Configs</title>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<meta name="description" content="The Unofficial Games Unite Website. Features, Commands, FAQ, Configs.">
<meta name="keywords" content="roblox, roblox shooter, shooter, guns, game, roblox game, games unite, games, unite">

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-B0QFZJDG2M"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-B0QFZJDG2M');
</script>

<!-- Website Embed -->
<meta content="Games Unite | Configs" property="og:title">
<meta content="User-created configs from the community." property="og:description">
<meta content="website" property="og:type">
<meta content="https://gamesunite.dev/" property="og:url">
<meta content="https://gamesunite.dev/img/screenshots/MojaveInspect.webp" property="og:image">
<meta content="#4bf5a3" data-react-helmet="true" name="theme-color">

<!-- Twitter/Social Embed -->
<meta name="twitter:title" content="Games Unite">
<meta name="twitter:description" content="The Unofficial Games Unite Website. Features, Commands, FAQ, Configs.">
<meta name="twitter:image" content="https://gamesunite.dev/img/screenshots/MojaveInspect.webp">
<meta name="twitter:site" content="@MapleAtMorning">
<meta name="twitter:card" content="summary_large_image">

<!-- Favicons -->
<link rel="apple-touch-icon" href="img/GULogo.ico">
<link rel="icon" href="img/GULogoBlack.ico" media="(prefers-color-scheme: light)">
<link rel="icon" href="img/GULogo.ico" media="(prefers-color-scheme: dark)">

<!-- Styles -->
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web" rel="stylesheet">
<script src="/js/htmlManager.js"></script>
<script type="module" src="/js/themeManager.js"></script>
<link rel="stylesheet" href="styles/normalize.css">
<link rel="stylesheet" href="styles/multiPage.css">
<link rel="stylesheet" href="styles/configs.css">
</head>
<body>
<header id="nav-top">
<gu-header></gu-header>
</header>
<gu-cookies></gu-cookies>

<div id="fullscreen-img-holder" class="not-fullscreen">
<button id="exit-fullscreen-btn"></button>
<img id="fullscreen-img" src="https://picsum.photos/1920/1080" alt="">
</div>
<main>
<h1 class="m-0">Configs</h1>
<h2 class="mb-4 text-muted">Click on the images to enlarge them.</h2>
<div class="card-holder">
<gu-config-card cfgtitle="Default" author="Games Unite" config="crosshair_alpha 0.15; crosshair_gap 6; crosshair_size 10; crosshair_thickness 2; crosshair_color 255 244 222; crosshair_t 0; crosshair_recoil_scale 1; crosshair_outline 1; crosshair_outline_thickness 1; crosshair_outline_color 0 0 0; crosshair_outline_alpha 0.75; crosshair_dot 0; crosshair_dot_alpha 0; crosshair_dot_size 2; viewmodel_arms 1; viewmodel_offset 0 0 0; viewmodel_flip 0; default_fov 85; camera_aspect_ratio 1;" src="img/screenshots/configs/Default.png"> </gu-config-card>
<gu-config-card cfgtitle="The Bum" author="Underscore" config="viewmodel_offset 0.08 -0.70 0.4; default_fov 90; camera_aspect_ratio 0.5; crosshair_t 1; crosshair_size 8; crosshair_dot 1; crosshair_color 255 227 36" src="img/screenshots/configs/The Bum.png"> </gu-config-card>
<gu-config-card cfgtitle="The Gay" author="Ryan" config="crosshair_gap 3; crosshair_color 0 255 0; crosshair_alpha 0; crosshair_t 1; crosshair_size 8; crosshair_gap 3; viewmodel_offset 0 -0.25 0; default_fov 105" src="img/screenshots/configs/The Gay.png"> </gu-config-card>
<gu-config-card cfgtitle="Small Crosshair" author="Kiera" config="crosshair_gap 2; crosshair_recoil_scale 0; crosshair_outline_alpha 0; crosshair_thickness 2; crosshair_alpha 0.1; crosshair_size 7" src="img/screenshots/configs/Small Crosshair.png"> </gu-config-card>
<gu-config-card cfgtitle="what" author="Mak" config="viewmodel_arms 0; viewmodel_offset -2 0 10; default_fov 70" src="img/screenshots/configs/what.png"> </gu-config-card>
<gu-config-card cfgtitle="Dogged" author="Slavic Doggo" config="default_fov 120; crosshair_gap 1; crosshair_size 1; viewmodel_arms 0; viewmodel_offset -.3 -.7 -1" src="img/screenshots/configs/Dogged.png"> </gu-config-card>
<gu-config-card cfgtitle="Casual Dot" author="Ruby" config="crosshair_outline_alpha 1; crosshair_gap -2; crosshair_size 2; crosshair_recoil_scale 0; default_fov 105; net_graph 0; viewmodel_arms 0; viewmodel_offset -1 -1 2" src="img/screenshots/configs/Casual Dot.png"> </gu-config-card>
<gu-config-card cfgtitle="schloinfig" author="NomNom" config="crosshair_color 255 0 255; crosshair_gap 2; crosshair_recoil_scale 1; crosshair_size 2; crosshair_thickness 2; default_fov 120; viewmodel_arms 0; viewmodel_flip 1; viewmodel_offset -1.25 0 0" src="img/screenshots/configs/schloinfig.png"> </gu-config-card>
<gu-config-card cfgtitle="Sk1tlxs Centered" author="sk1tlxs" config="viewmodel_offset 0.2 -2 1; crosshair_gap -1; crosshair_size 2; crosshair_recoil_scale 0;" src="img/screenshots/configs/Sk1tlxs Centered.png"> </gu-config-card>
<gu-config-card cfgtitle="Sk1tlxs Tiny" author="sk1tlxs" config="crosshair_recoil_scale 0; crosshair_outline_alpha 0; viewmodel_offset -1.5 -1.5 0; crosshair_color 204 0 102; crosshair_size 3; crosshair_gap -3; default_fov 85; net_graph 0; viewmodel_arms 0" src="img/screenshots/configs/Sk1tlxs Tiny.png"> </gu-config-card>
<gu-config-card cfgtitle="Sk1tlxs Tinier" author="sk1tlxs" config="crosshair_color 250 150 20; viewmodel_offset -2 -4 3; net_graph 0; crosshair_recoil_scale 0; crosshair_thickness 3; crosshair_size 2; crosshair_gap -2" src="img/screenshots/configs/Sk1tlxs Tinier.png"> </gu-config-card>
</div>
<div class="random-holder">
<gu-config-card id="random1" cfgtitle="Slop" author="MapleAtMorning" config=""
src="img/screenshots/configs/Slop.png"></gu-config-card>
<div class="reroll-customizer">
<button id="reroll-btn" title="Reroll"></button>
<div class="modifiers">
<label for="crosshair-mod">
<input type="checkbox" checked id="crosshair-mod">
Crosshair
</label>
<label for="crosshair-outline-mod">
<input type="checkbox" checked id="crosshair-outline-mod">
Crosshair Outline
</label>
<label for="crosshair-dot-mod">
<input type="checkbox" checked id="crosshair-dot-mod">
Crosshair Dot
</label>
<label for="viewmodel-mod">
<input type="checkbox" checked id="viewmodel-mod">
Viewmodel
</label>
<label for="fov-mod">
<input type="checkbox" checked id="fov-mod">
FOV
</label>
<label for="aspect-ratio-mod">
<input type="checkbox" checked id="aspect-ratio-mod">
Aspect Ratio
</label>
</div>
</div>
</div>
</div>
<p class="text-muted">
Config missing? Make a <a class="text-muted" href="https://github.com/MapleAtMorning/Games-Unite/pulls" target="_blank">pull request</a>on the GitHub!
</p>
</main>
<footer>
<gu-footer></gu-footer>
</footer>
<script type="module" src="js/multipage.js"></script>
<script type="module" src="js/config.js"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<meta name="description" content="The Unofficial Games Unite Website. Features, Commands, FAQ, Weapons.">
<meta name="description" content="The Unofficial Games Unite Website. Features, Commands, FAQ, Configs.">
<meta name="keywords" content="roblox, roblox shooter, shooter, guns, game, roblox game, games unite, games, unite">

<!-- Google tag (gtag.js) -->
Expand All @@ -29,7 +29,7 @@

<!-- Twitter/Social Embed -->
<meta name="twitter:title" content="Games Unite | Frequently Asked Questions">
<meta name="twitter:description" content="The Unofficial Games Unite Website. Features, Commands, FAQ, Weapons.">
<meta name="twitter:description" content="The Unofficial Games Unite Website. Features, Commands, FAQ, Configs.">
<meta name="twitter:image" content="https://gamesunite.dev/img/screenshots/MojaveInspect.webp">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@MapleAtMorning">
Expand Down
1 change: 1 addition & 0 deletions img/icons/cross.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icons/dice.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/screenshots/configs/Casual Dot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/screenshots/configs/Default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/screenshots/configs/Dogged.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/screenshots/configs/Sk1tlxs Centered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/screenshots/configs/Sk1tlxs Tinier.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/screenshots/configs/Sk1tlxs Tiny.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/screenshots/configs/Slop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/screenshots/configs/Small Crosshair.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/screenshots/configs/The Bum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/screenshots/configs/The Gay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/screenshots/configs/schloinfig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/screenshots/configs/what.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<meta name="description" content="The Unofficial Games Unite Website. Features, Commands, FAQ, Weapons.">
<meta name="description" content="The Unofficial Games Unite Website. Features, Commands, FAQ, Configs.">
<meta name="keywords" content="roblox, roblox shooter, shooter, guns, game, roblox game, games unite, games, unite">

<!-- Google tag (gtag.js) -->
Expand All @@ -30,7 +30,7 @@

<!-- Twitter/Social Embed -->
<meta name="twitter:title" content="Games Unite">
<meta name="twitter:description" content="The Unofficial Games Unite Website. Features, Commands, FAQ, Weapons.">
<meta name="twitter:description" content="The Unofficial Games Unite Website. Features, Commands, FAQ, Configs.">
<meta name="twitter:image" content="https://gamesunite.dev/img/screenshots/MojaveInspect.webp">
<meta name="twitter:site" content="@MapleAtMorning">
<meta name="twitter:card" content="summary_large_image">
Expand Down
2 changes: 1 addition & 1 deletion js/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function scrollFunc (id) {
commandArray.forEach((element) => {
element.addEventListener('click', () => {
vw = window.innerWidth
if (vw > 992) {
if (vw > 600) {
const commandName = element.innerHTML.split(' ')
copy(commandName[0])

Expand Down
Loading

0 comments on commit 8e753ff

Please sign in to comment.