https://github.com/ghostdevv/cc-glib
A standard set of libraries/tools for CC Tweaked
https://github.com/ghostdevv/cc-glib
Last synced: 11 months ago
JSON representation
A standard set of libraries/tools for CC Tweaked
- Host: GitHub
- URL: https://github.com/ghostdevv/cc-glib
- Owner: ghostdevv
- License: mit
- Created: 2024-01-14T00:25:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-17T00:46:22.000Z (about 2 years ago)
- Last Synced: 2025-02-14T02:54:28.939Z (about 1 year ago)
- Language: Lua
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CC GLib
A standard set of libraries/tools for CC Tweaked.
## Install
The following command will install the latest version of glib:
```bash
wget run https://raw.githubusercontent.com/ghostdevv/cc-glib/main/lib/glib.lua install
```
## Updating
You can simply run:
```bash
glib update
```
`update` and `install` are equivalent commands
## Core Commands
### `glib`
The primary glib command which allows you to interact/manage the library.
```bash
$ glib help
GLib v0.2.0
Usage
glib
Available Commands
help Show this help message
version Get the current version of GLib
install, update (re)install GLib
```
### `neofetch`
The `neofetch` command is inspired by the popular [bash based neofetch tool](https://github.com/dylanaraps/neofetch).
```bash
$ neofetch
```

### `cat`
The `cat` command can be used to read the contents of a file, it will also display some helpful information such as it's line count and size.
```bash
$ cat
```
### `touch`
Create empty file(s) quickly with touch.
```bash
$ touch
```
## Turtle Commands
These commands are only installed on turtles.
### `fuel`
The `fuel` command simply lists out the current fuel and fuel limit.
```bash
$ fuel
Fuel Level: 11157/100000
```
### `mine`
The `mine` command ([`ghostdevv/mining-turtle`](https://github.com/ghostdevv/mining-turtle)) is used to mine an area the user defines.
The turtle must be placed in the bottom left corner facing the direction you want to mine.
```bash
$ mine
```