Giter VIP home page Giter VIP logo

lukkit's Introduction

Lukkit

Lukkit allows developers and server administrators to create plugins for the Spigot API with ease using the Lua scripting language. The language is simple and can be quickly picked up, even by beginners.

NOTE: Lukkit is being rewritten so PR's will not be accepted. If you have an issue you're welcome to accept it if it could also impact v3.

UnwrittenFun was the original author behind Lukkit. However, he abandoned the project and jammehcow took over a couple years later. He was able to update the project to 1.11.2, but lacked the time and motivation to continue maintaining the project himself. Because of this, Lukkit has been in the hands of a number of developers since jammehcow, but has now landed in the hands of AL_1 and Artex Development.

The Lukkit Discord guild can be found here.

Documentation

There have been numerous updates and changes made to Lukkit since the original documentation for both Lukkit v1.1.3 and Lukkit v2.0 had been released. In order to keep the documentation updated and in the best interest of users, the documentation has been moved from using the GitHub wiki to using GitBook.

The documentation can be found on here and on GitHub.

Branch Conventions

Lukkit follows a set of branch conventions that make it easier for developers and contributors to manage the project.

  • master contains the latest released version of Lukkit.
  • develop is the active development branch. Upon a release, this will be merged into master.
  • patch-x.x.x will be created with the appropriate version in the branch name when a patch release is in development. For example, if there is an issue in the v2.0 release and features for v2.1.0 are in the develop branch, we will pull v2.0 into a new branch, fix the issue, merge into both master and develop and then create a release from master. This will avoid incomplete features for the next milestone being incorporated into a patch.

lukkit's People

Contributors

al1l avatar blacknecron avatar dependabot[bot] avatar development4you avatar hintss avatar jamesbirtles avatar jupjohn avatar martijn-heil avatar mathhulk avatar swadicalrag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lukkit's Issues

Option to disable /lukkit run.

I think it would be a good idea to add a configuration option to disable/enable the /lukkit run command, and preferably, have it disabled on default.
I find it really insecure to allow any server operator to execute any Lua code, especially when a server instance runs with elevated privileges. Usually, server operators are trusted people, but what if an attacker somehow gets server operator access? The damage would be way worse than usual, as it would not be limited to the Minecraft server, but to the whole machine, or even network. An attacker with server operator access could, for instance, install a virus on the machine with some simple Java Standard Library calls.

util.getTableFromList() sometimes fails to load online player list

Summary
The utility function util.getTableFromList() doesn’t always like plugin.getServer():getOnlinePlayers().

What should happen

  • getOnlinePlayers() should get a Collection of all online players.
  • util.getTableFromList() should convert this data to a table.

What actually happens
At seemingly random, unpredictable intervals, without any change in code other than saving and rebooting the server, util.getTableFromList() doesn’t recognise plugin.getServer():getOnlinePlayers() as a Collection.

Source code of the plugin
https://pastebin.com/ZF5dTbmt

Outputted error (when caught)
https://pastebin.com/6A7jm4v2

[Feature] Dev plugin hot realoding

Allowing hot reloading of functions using a file watcher would be cool. Would only be enabled for dev plugins and would need to be turned on at startup by command.

util.runDelayed() freezes the server

local testCommand = plugin.addCommand({name="test"}, function(cmd)
    local sender = cmd.getSender()
    util.runDelayed(function()
        sender:sendMessage("Test Delayed")
        return
    end, 1000)
    sender:sendMessage("Test")
end)

When i run the command the only message i get is "Test Delayed", then after a while server crashes with "The server has stopped responding!" error
latest.log: https://pastebin.com/ryMckkvg

[BUG] - All Lukkit Gloabls are null.

2016-02-16_14-10-58

As shown by the above picture '_G.lukkit' is null as well as '_G.events'.

I know that this plugin is made for 1.79 and I am trying to use it for 1.8.8 (as you can see the plugin still loads and runs a simple lua file with out error).

I would be happy to fix this myself but sadly I am unable to figure out how to get LuaJ working in any of my projects (thus me using this plugin).

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.