Giter VIP home page Giter VIP logo

projectessentials / projectessentials Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 2.0 2.74 MB

馃挆 A basic module of Project Essentials. This module adds a few basic commands in minecraft for the project. Many of the commands in this module will be familiar to you from EssentialsX.

License: MIT License

Kotlin 98.35% Groovy 1.65%
minecraft-mod minecraft-forge-mod minecraftforge minecraft forge-mod essentialsx essentials forge-essentials minecraft-essentials

projectessentials's Introduction

projectessentials's People

Contributors

kuronoseihai avatar mairwunnx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

projectessentials's Issues

gamemode change shortcut like '/gms', '/gmc', '/gmsp' etc.

EssentialsX has gamemode shortcut command like /gms which is same as /gamemode survival. It would be helpful because with this, user doesn't need to type all 'gamemode survival'.

/gms : /gamemode survival
/gmc : /gamemode creative
/gma : /gamemode adventure
/gmsp : /gamemode spectator

Of course, these command can accept target like /gms <player> and if target is not specified, target would be the command issuer. And It should accept target as wildcard like @a, @p etc.
I don't know original EssentialsX command can accept multiple targets like /gms <player1> <player2> <player3> but if it can, implementing it would be nice.

/back command

A common feature in other essentials mods is a /back command, which teleports the player back to the coordinates from before their last teleport or death. I would like to request that this be implemented in a future version.

Question

Is this mod being planned on being made for 1.12.2 and 1.11.2? I'm asking because 1.12.2 is a version my irl family Fire and I use a lot and 1.11.2 is the version of a map we like to play

Mod id must changed to `project_essentials_basic`.

It will more correctly. Module id will changed to basic, but this repository still have name "ProjectEssentials".

Mod name also must be changed to "Project Essentials Basic" and module name to "basic".

Override minecraft messages with custom messages and colors.

Need to re-color default minecraft messages or just override.

This is necessary to unify all minecraft commands that are not included in essentials.

Standard colors in the Essentials palette:

  • 搂6 (for the conclusion of successfully completed tasks)
  • 搂7 (for selected text in various problems)
  • 搂c (for highlighting errors in tasks, for example, there are no permissions)
  • 搂b (rarely used, mainly to highlight arguments or nicknames)

If you do not know how to do this, just look at the en-US or ru-RU language files and see how everything is done there.

Pages for /help command

The listing from the /help command is too long; there isn't enough scrollback to read it all. It will be impossible to see the entire output from /help unless it is split into pages.

Feature Request - Claiming terrain for your team

This is a simple feature to allow either the owner of the team or someone with a certain permission to claim or to unclaim land for their team.

Only the player from your team can build/destroy in the claimed area.

Changing afk state automatically, if player not do anything in specific time.

  • Change afk state to true if player not do anything in specified time (configurable value).
  • Change afk state to false if player in afk state do move.

Specified time configuration property name afkIdlenessTime (set to 0 for disable)
And one more property afkHandleActivity, (if value true then if player in afk and try do something then player afk state will be canceled)

Break command coordinates to block sometimes turn out to be wrong.

In it line (link) has small problem:

the coordinates of the block I'm looking at do not always turn out to be correct.

I tried round to int each coordinate in Vec3d, it little fix this problem, but not in all cases.
I think problem precisely in it code, but maybe I'm wrong.

image

Sometimes a vector is 1 larger in some coordinate than necessary. Perhaps there is a better solution to implement this feature.

Minecraft 1.14.4 Crashes

I made a modpack for myself only and I added all 9 Project Essentials mods and game crashes. Modpack is on 1.14.4 version. Game just finishes FML early loading progress and when second part of loading starts it crashes.

latest.log
debug.log

I don't know anything about this stuff i looked up on google but found nothing.

Expected behavior

Additional materials

Environment information

Your comments

Log files. (latest.log and debug.log file in attachments

error?

Wasn't sure if this was a bug or not but when running commands it returns something like this:

project_essentials_chat.cooldown_not_expired

this comes with running any command including /tpa /spawn etc

Steps to reproduce the behavior
Go to '...' run this mod on forge version 31.1.12. I am running this mod with alot of other mods included in the Valhelsia 2 modpack: https://www.curseforge.com/minecraft/modpacks/valhelsia-2
Enter command '....' any command /home /tpa etc.
See error
error shown above
Expected behavior
A clear and concise description of what you expected to happen.
when sending a tpa something like teleport request sent
Screenshots
If applicable, add screenshots to help explain your problem.
Environment information
Project Essentials Core version: [e.g. v1.0.0.0]
Project Essentials version: [e.g. v0.6.0.0]
Project Essentials Modules version: [e.g. Spawn - v1.0.0.2; Home - v1.3.0.0]
Minecraft / Forge version: [e.g. 1.14.4 / 28.1.0]
Additional context
Add any other context about the problem here.

Run Commands On First Join

When a player joins a server for the first time the server will run command(s) BUT the commands do not run if its returning players.

For example when a new player joins the server they are given a written book via command. But if they log out and log back in later they will not receive the book again as they are a returning player.

Asked on the CurseForge page, but posting here as suggested.

Thanks.

/ping command make more useful.

At now out of command /ping is just joke lol. I think out must be ping value or something like that.

/ping -> Ping to <server-ip-address> is <ping-value>.

And add player entity argument player for checking ping other player.

Implement aliases for minecraft vanilla commands.

Need implement aliases for minecraft vanilla commands

Example, we have /clear command, we need replace or forward alias to original command (/ci -> /clear) and other aliases.

e.g for /clear command aliases: [ci, clean, clearinventory, eclear]
for /time command aliases: [etime]
for /gamemode command aliases: [gm],
for /gamemode creative command aliases: [gmc, gamemode 1]

Crash while using home, warp

Describe the bug

  • When using /sethome or /setwarp the server crashes

Running minimal mods, wondering if it's just because the latest version of Forge goofed something up or not. I figured this was the best place to start.

Any help is appreciated, Google is a very poor friend when searching for solutions to this.

Sincerely,
Brad
###########################################################################

---- Minecraft Crash Report ----
// Don't do that.

Time: 3/4/20, 8:28 PM
Description: Exception in server tick loop

java.lang.IllegalAccessError: class com.mairwunnx.projectessentials.warps.commands.SetWarpCommand tried to access private field net.minecraft.entity.Entity.field_70165_t (com.mairwunnx.projectessentials.warps.commands.SetWarpCommand and net.minecraft.entity.Entity are in unnamed module of loader cpw.mods.modlauncher.TransformingClassLoader @3c6aa04a)
at com.mairwunnx.projectessentials.warps.commands.SetWarpCommand.execute(SetWarpCommand.kt:56) ~[?:1.14.4-1.2.2] {re:classloading}
at com.mairwunnx.projectessentials.warps.commands.SetWarpCommand.access$execute(SetWarpCommand.kt:20) ~[?:1.14.4-1.2.2] {re:classloading}
at com.mairwunnx.projectessentials.warps.commands.SetWarpCommand$register$1$1.run(SetWarpCommand.kt:36) ~[?:1.14.4-1.2.2] {re:classloading}
at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:262) ~[?:?] {re:classloading}
at net.minecraft.command.Commands.func_197059_a(Commands.java:205) ~[?:?] {re:classloading}
at net.minecraft.network.play.ServerPlayNetHandler.func_147361_d(ServerPlayNetHandler.java:990) ~[?:?] {re:classloading}
at net.minecraft.network.play.ServerPlayNetHandler.func_147354_a(ServerPlayNetHandler.java:973) ~[?:?] {re:classloading}
at net.minecraft.network.play.client.CChatMessagePacket.func_148833_a(SourceFile:36) ~[?:?] {re:classloading}
at net.minecraft.network.play.client.CChatMessagePacket.func_148833_a(SourceFile:9) ~[?:?] {re:classloading}
at net.minecraft.network.PacketThreadUtil.func_225383_a(SourceFile:21) ~[?:?] {re:classloading}
at net.minecraft.util.concurrent.TickDelayedTask.run(SourceFile:18) ~[?:?] {re:classloading}
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144) ~[?:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) ~[?:?] {re:classloading}
at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:731) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:141) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118) ~[?:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:714) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:708) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(SourceFile:127) ~[?:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.func_213202_o(MinecraftServer.java:694) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:641) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at java.lang.Thread.run(Unknown Source) [?:?] {}

A detailed walkthrough of the error, its code path and all known details is as follows:

-- System Details --
Details:
Minecraft Version: 1.15.2
Minecraft Version ID: 1.15.2
Operating System: Windows Server 2019 (amd64) version 10.0
Java Version: 11.0.3, Azul Systems, Inc.
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Azul Systems, Inc.
Memory: 1839198744 bytes (1753 MB) / 2147483648 bytes (2048 MB) up to 3221225472 bytes (3072 MB)
CPUs: 12
JVM Flags: 2 total; -Xms2G -Xmx3G
ModLauncher: 5.0.0-milestone.4+67+b1a340b
ModLauncher launch target: fmlserver
ModLauncher naming: srg
ModLauncher services:
/eventbus-2.0.0-milestone.1-service.jar eventbus PLUGINSERVICE
/forge-1.15.2-31.1.18.jar object_holder_definalize PLUGINSERVICE
/forge-1.15.2-31.1.18.jar runtime_enum_extender PLUGINSERVICE
/forge-1.15.2-31.1.18.jar capability_inject_definalize PLUGINSERVICE
/accesstransformers-2.0.3-shadowed.jar accesstransformer PLUGINSERVICE
/forge-1.15.2-31.1.18.jar runtimedistcleaner PLUGINSERVICE
/forge-1.15.2-31.1.18.jar fml TRANSFORMATIONSERVICE
FML: 31.1
Forge: net.minecraftforge:31.1.18
FML Language Providers:
[email protected]
minecraft@1
Mod List:
forge-1.15.2-31.1.18-server.jar Minecraft {[email protected] DONE}
luckyblock-1.15.2-1.jar Lucky Block {[email protected] DONE}
Project+Essentials+Cooldown-1.14.4-1.0.3.jar Project Essentials Cooldown {[email protected] DONE}
Project+Essentials+Chat-1.14.4-1.1.0.jar Project Essentials Chat {[email protected] DONE}
Project+Essentials+Home-1.14.4-1.1.2.jar Project Essentials Home {[email protected] DONE}
forge-1.15.2-31.1.18-universal.jar Forge {[email protected] DONE}
Project+Essentials+Warps-1.14.4-1.2.2.jar Project Essentials Warps {[email protected] DONE}
Xaeros_Minimap_20.5.0_Forge_1.15.2.jar Xaero's Minimap {[email protected] DONE}
Project+Essentials+Permissions-1.14.4-1.2.0.jar Project Essentials Permissions {[email protected] DONE}
Project+Essentials+Spawn-1.14.4-1.1.2.jar Project Essentials Spawn {[email protected] DONE}
Project+Essentials-1.14.4-1.0.0.jar Project Essentials {[email protected] DONE}
ProjectEssentials-Core-MOD-1.14.4-1.2.1.jar Project Essentials Core {[email protected] DONE}
Project+Essentials+Backup-1.14.4-1.0.1.jar Project Essentials Backup {[email protected] DONE}
Player Count: 1 / 20; [ServerPlayerEntity['Lestibournes'/229, l='world', x=-423.62, y=70.00, z=251.07]]
Data Packs: vanilla, mod:forge (incompatible), mod:lucky (incompatible), mod:xaerominimap, mod:project_essentials (incompatible), mod:project_essentials_backup (incompatible), mod:project_essentials_chat (incompatible), mod:project_essentials_cooldown (incompatible), mod:project_essentials_core (incompatible), mod:project_essentials_home (incompatible), mod:project_essentials_permissions (incompatible), mod:project_essentials_spawn (incompatible), mod:project_essentials_warps (incompatible)
Is Modded: Definitely; Server brand changed to 'forge'
Type: Dedicated Server (map_server.txt)

Clear command add ability to add ignored players.

Need to add ability ignore some players.

Ignored players will be contained in ignoredPlayers, the data type must be MutableList<String>, the configuration must be contained in the Clear command configuration.

A check for an ignored player should be in code blocks if targetIsExists == true. If we select a specific player, not several players, then we display a message that this player cannot clear things. If we select multiple players, then skip the ignored players.

Note: In fairness, it is impossible to allow clearing the inventory of a player who is ignored, even with maximum permissions or with op level.

It would also be nice to have permission ess.clear.bypass if you don't want to use the ignoredPlayer configuration.

'/invsee' and '/enderchest' feature request

There are /invsee <player> and /encherchest <player> commands in Essentials(or EssentialsX). I hope these commands would be present in Project Essentials.
/invsee can see player's inventory and /enderchest can see player's enderchest.

If OP(or player with proper permission) issue the command /invsee <player>, he can open the player's inventory and armor/shield slot. If issuer has another permission that enables edit the inventory, he can edit the player's inventory. If the player acquire item while OP is opening his inventory, the acquired item should be shown in OP's screen(synchronized).

If synchronization cannot be achieved, that would be OK because OP can just re-issue the command and get updated the player's inventory information.

I remember that player's whole inventory is shown in 4x9 GUI. first 3x9 is player's inventory and last 9 slots are player's armor and shield slot.

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.