Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (C) 2021 anatawa12 and other contributors
#
# This file is/was a part of plugin-permissions-for-ngt,
# which is released under GNU GPL v3.
#
# See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.

/.gradle
/build
/buildSrc/.gradle
Expand Down
631 changes: 631 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (C) 2021 anatawa12 and other contributors

This file is/was a part of plugin-permissions-for-ngt,
which is released under GNU GPL v3.

See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
-->

# Plugin permissions for NGT permissions

The mod to use permissions of plugins as NGTLib's permissions.
Expand Down
9 changes: 9 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

import com.anatawa12.pluginPermsForNgt.buildPlugin.*
import java.net.URI

Expand Down
3 changes: 3 additions & 0 deletions buildSrc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ buildSrc
====

This directory contains the plugin to build plugin-permissions-for-ngt.

The license of all files in this directory can be changed in the feature
because it may be in separated project.
9 changes: 9 additions & 0 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* Currently, This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

import kotlin.reflect.cast

plugins {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* Currently, This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

package com.anatawa12.pluginPermsForNgt.buildPlugin

import org.gradle.api.Plugin
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* Currently, This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

package com.anatawa12.pluginPermsForNgt.buildPlugin

import org.apache.http.client.HttpClient
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* Currently, This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

package com.anatawa12.pluginPermsForNgt.buildPlugin

import org.apache.http.client.methods.HttpGet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* Currently, This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

package com.anatawa12.pluginPermsForNgt.buildPlugin

import org.gradle.api.tasks.Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* Currently, This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

package com.anatawa12.pluginPermsForNgt.buildPlugin

import org.gradle.api.tasks.Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* Currently, This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

package com.anatawa12.pluginPermsForNgt.buildPlugin

import org.gradle.api.tasks.Internal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* Currently, This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

package com.anatawa12.pluginPermsForNgt.buildPlugin

import org.gradle.api.tasks.Internal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* Currently, This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

package com.anatawa12.pluginPermsForNgt.buildPlugin

import org.gradle.api.Project
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* Currently, This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

package com.anatawa12.pluginPermsForNgt.buildPlugin

import org.gradle.api.file.FileCollection
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* Currently, This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

package com.anatawa12.pluginPermsForNgt.buildPlugin

import org.gradle.api.DefaultTask
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* Currently, This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

package com.anatawa12.pluginPermsForNgt.buildPlugin

import org.apache.http.client.HttpClient
Expand Down
7 changes: 7 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
# Copyright (C) 2021 anatawa12 and other contributors
#
# This file is/was a part of plugin-permissions-for-ngt,
# which is released under GNU GPL v3.
#
# See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.

version=1.1-SNAPSHOT
9 changes: 9 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

rootProject.name = "plugin-permissions-for-ngt"

7 changes: 7 additions & 0 deletions src/api/java/com/anatawa12/fixRtm/PermissionManager.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* This file is a file to specify partial signatures of PermissionManager class in fixRTM.
* original file: https://github.com/fixrtm/fixRTM/blob/HEAD/src/main/java/com/anatawa12/fixRtm/PermissionManager.kt
* fixRTM is published under GNU LGPL 3.0 with some exceptions.
* see https://github.com/fixrtm/fixRTM/blob/master/LICENSE.
*/

package com.anatawa12.fixRtm;

import compat.Vendor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* This file is a file to specify existence of Mod.EventHandler in either
* `cpw.mods.fml.common` or `net.minecraftforge.fml.common` package in Forge Mod Loader project.
* Forge Mod Loader is published under GNU LGPL 2.1.
* see https://github.com/MinecraftForge/MinecraftForge/blob/1.12.x/LICENSE.txt and
* https://github.com/MinecraftForge/MinecraftForge/blob/1.7.10/fml/LICENSE-fml.txt.
* Original source: https://github.com/MinecraftForge/MinecraftForge/blob/1.12.x/src/main/java/net/minecraftforge/fml/common/Mod.java
* Original source: https://github.com/MinecraftForge/MinecraftForge/blob/1.7.10/fml/src/main/java/cpw/mods/fml/common/Mod.java
*/
package com.anatawa12.pluginPermsForNgt.fml.common;

import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* This file is a file to specify existence of FMLPostInitializationEvent in either
* `cpw.mods.fml.common.event` or `net.minecraftforge.fml.common.event` package in Forge Mod Loader project.
* Forge Mod Loader is published under GNU LGPL 2.1.
* see https://github.com/MinecraftForge/MinecraftForge/blob/1.12.x/LICENSE.txt and
* https://github.com/MinecraftForge/MinecraftForge/blob/1.7.10/fml/LICENSE-fml.txt.
* Original source: https://github.com/MinecraftForge/MinecraftForge/blob/1.12.x/src/main/java/net/minecraftforge/fml/common/event/FMLPostInitializationEvent.java
* Original source: https://github.com/MinecraftForge/MinecraftForge/blob/1.7.10/fml/src/main/java/cpw/mods/fml/common/event/FMLPostInitializationEvent.java
*/

package com.anatawa12.pluginPermsForNgt.fml.common.event;

public class FMLPostInitializationEvent {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

/**
* the package as placeholder of fml
*/
Expand Down
9 changes: 9 additions & 0 deletions src/api/java/compat/Vendor.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

package compat;

public enum Vendor {
Expand Down
9 changes: 9 additions & 0 deletions src/api/java/compat/Vendors.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright (C) 2021 anatawa12 and other contributors
*
* This file is/was a part of plugin-permissions-for-ngt,
* which is released under GNU GPL v3.
*
* See LICENSE at https://github.com/anatawa12/plugin-permissions-for-ngt.
*/

package compat;

import java.lang.annotation.Retention;
Expand Down
8 changes: 8 additions & 0 deletions src/api/java/cpw/mods/fml/common/Mod.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* This file is a file to specify signatures of Mod in
* `cpw.mods.fml.common` package in Forge Mod Loader project.
* Forge Mod Loader is published under GNU LGPL 2.1.
* see https://github.com/MinecraftForge/MinecraftForge/blob/1.7.10/fml/LICENSE-fml.txt.
* Original source: https://github.com/MinecraftForge/MinecraftForge/blob/1.7.10/fml/src/main/java/cpw/mods/fml/common/Mod.java
*/

package cpw.mods.fml.common;

public @interface Mod {
Expand Down
5 changes: 5 additions & 0 deletions src/api/java/jp/ngt/ngtlib/NGTCore.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* This file is a file to specify partial signature of NGTCore in `jp.ngt.ngtlib` package in NGTLib project.
* NGTLib is not open source project.
*/

package jp.ngt.ngtlib;

import compat.Vendor;
Expand Down
5 changes: 5 additions & 0 deletions src/api/java/jp/ngt/ngtlib/io/NGTLog.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* This file is a file to specify partial signature of NGTLog in `jp.ngt.ngtlib.io` package in NGTLib project.
* NGTLib is not open source project.
*/

package jp.ngt.ngtlib.io;

import compat.Vendor;
Expand Down
9 changes: 9 additions & 0 deletions src/api/java/jp/ngt/ngtlib/util/PermissionManager.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* This file is a file to specify partial signature of PermissionManager in `jp.ngt.ngtlib.util` package in NGTLib
* and modified by KaizPatchX project.
* NGTLib is not open source project.
* KaizPatchX is published under GNU GPL 3.0 with some exceptions.
* see https://github.com/Kai-Z-JP/KaizPatchX/blob/master/LICENCE.
* Original Source(patched): https://github.com/Kai-Z-JP/KaizPatchX/blob/master/src/main/java/jp/ngt/ngtlib/util/PermissionManager.java
*/

package jp.ngt.ngtlib.util;

import compat.Vendor;
Expand Down
4 changes: 4 additions & 0 deletions src/api/java/net/minecraft/command/ICommandSender.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* This file is a file to specify existence of ICommandSender in `net.minecraft.command` package in Minecraft.
*/

package net.minecraft.command;

// (currently) not for implement
Expand Down
8 changes: 8 additions & 0 deletions src/api/java/net/minecraft/entity/Entity.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* This file is a file to specify partial signature of Entity in `net.minecraft.entity` package in Minecraft
* and patched by CraftBukkit project.
* CraftBukkit is published under GNU GPL 3.0.
* see https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/browse/LICENCE.txt.
* Original source(patch): https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/browse/nms-patches/Entity.patch?at=refs%2Fheads%2Fversion%2F1.12.2
*/

package net.minecraft.entity;

import compat.Vendor;
Expand Down
7 changes: 7 additions & 0 deletions src/api/java/net/minecraftforge/common/MinecraftForge.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* This file is a file to specify partial signature of MinecraftForge in
* `net.minecraftforge.common` package in The Minecraft Forge project.
* The Minecraft Forge is published under GNU LGPL 2.1.
* see https://github.com/MinecraftForge/MinecraftForge/blob/1.12.x/LICENSE.txt and
* Original source: https://github.com/MinecraftForge/MinecraftForge/blob/1.12.x/src/main/java/net/minecraftforge/common/MinecraftForge.java
*/
package net.minecraftforge.common;

public class MinecraftForge {
Expand Down
8 changes: 8 additions & 0 deletions src/api/java/net/minecraftforge/fml/common/Mod.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* This file is a file to specify partial signature of Mod in
* `net.minecraftforge.fml.common` package in Forge Mod Loader project.
* Forge Mod Loader is published under GNU LGPL 2.1.
* see https://github.com/MinecraftForge/MinecraftForge/blob/1.12.x/LICENSE.txt and
* Original source: https://github.com/MinecraftForge/MinecraftForge/blob/1.12.x/src/main/java/net/minecraftforge/fml/common/Mod.java
*/

package net.minecraftforge.fml.common;

public @interface Mod {
Expand Down
7 changes: 7 additions & 0 deletions src/api/java/org/bukkit/Bukkit.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* This file is a file to specify partial signature of Bukkit in `org.bukkit` package in Bukkit project.
* Bukkit is published under GNU GPL 3.0.
* see https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/browse/LICENCE.txt.
* Original source: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/browse/src/main/java/org/bukkit/Bukkit.java
*/

package org.bukkit;

public class Bukkit {
Expand Down
Loading