Git Product home page Git Product logo

pallib's Introduction

Palworld PalLib - Utility Library

PalLib

A utility library for developing mods for the game Palworld.

Installation

  1. To install, you first need UE4SS (https://github.com/UE4SS-RE/RE-UE4SS/releases).
  2. Copy the 'PalLib' folder into the Mods/shared folder of UE4SS.
  3. Install other mods that use PalLib.

Modules

PalLib

Main module. Contains all modules of the library.

  • PalLib:Version -> Property holding the current version of PalLib.
  • PalLib:Dir -> Property holding the directory path of the game executable.
  • PalLib.Log -> Function to log messages to the console.
  • PalLib.Use -> Function to register in the console that Mod [X] is using PalLib.

PalLib.Config

Module for manipulating configuration files. With this, you can provide your users with a simple configuration file that your mod can later utilize.

  • PalLib.Config.Load -> Function to load and check the configuration file.

PalLib.String

Module with utility functions for string manipulation.

  • PalLib.String.Split -> Function to split a string into an PalLib.Array{object} of strings.
  • PalLib.String.Trim -> Function to trim a string and return a new string.

PalLib.Array

Module with utility functions for array manipulation.

  • PalLib.Array{object} -> Object representing an array with the 'length' property.
  • PalLib.Array.New -> Function to create a new PalLib.Array{object}.
  • PalLib.Array.Length -> Function to get the length of an PalLib.Array{object}.
  • PalLib.Array.Add -> Function to add an element to an PalLib.Array{object}.
  • PalLib.Array.Remove -> Function to remove an element from an PalLib.Array{object}.
  • PalLib.Array.ForEach -> Function to execute a function on each element of an PalLib.Array{object}.

PalLib.File

Module with utility functions for file manipulation.

  • PalLib.File.Read -> Function to read a file and return its content as a string.

Credits

PalLib is developed and maintained by Diegiwg.

Contributing

Contributions are welcomed! Feel free to fork the repository and submit pull requests with your enhancements.

pallib's People

Contributors

diegiwg avatar

Stargazers

Bocchi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.