add luckperms plugin

This commit is contained in:
zznty
2023-11-09 16:53:02 +07:00
parent b05113f971
commit ec5e20b922
98 changed files with 3230 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
using System.Reflection;
using java.nio.file;
using me.lucko.luckperms.common.plugin.classpath;
namespace LuckPerms.Torch.Impl;
public class LpClassPathAppender : ClassPathAppender
{
public void Dispose()
{
}
public void addJarToClasspath(Path p)
{
if (p.endsWith(".dll"))
Assembly.Load(p.toString());
}
public void close()
{
}
}