Giter Site home page Giter Site logo

fakename's Introduction

Fakename

To use Fakename in your projects, include this in your build.gradle:

repositories {
	maven {
		url "https://maven.blamejared.com/"
	}
}

dependencies {
	deobfCompile "tschipp.fakename:fakename-MCVERSION:MODVERSION" 
}

Make sure to replace MCVERSION and MODVERSION with the appropriate versions.

fakename's People

Contributors

rit80 avatar tschipp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fakename's Issues

Mod compatibility on 1.12

Observed several issues on the latest of https://www.curseforge.com/minecraft/modpacks/divine-journey-2.
The player's real name was shown:

  1. On their grave when they died (TombManyGraves)
  2. On their flesh (from EvilCraft, I think?)
  3. As the author of their "Strange Dreams" book from Thaumcraft (gotten when you pick up any kind of vis crystal)
  4. In WAILA (What Am I Looking At)/WAWLA (the HUD when you look at things, the player in this case)
  5. In Xaero's Minimap
    (internally, in server logs from Actually Additions and Astral Sorcery, although I'm unsure whether that's "intended" or not)

If these aren't easily fixable, is there any chance you could make a more permanent version that would spoof their name from the source (i.e. the call to Mojang's servers)? The goal was to obscure their real username, which contains identifying information, for streaming.
Or, if this is just due to caches from before the command was run, do you have any tips on where I might want to look for those? I did a pretty thorough search and replace of every file on the server and my own client, even in every .dat I could find that might be relevant.

Fakename 1.12.1 error

On curseforge, the mod for 1.12.2 shows a support or 1.12.1, but when I put that in my 1.12.1 forge server, it says that it requires 1.12.2.
Help?
Edit: I figured out what the problem is and teh solution, but you have to resolve it:
Catqtura
The fact is that on the support version, you put 1.12.2 twice, probably a writing error

[suggestion] Allow players and ops to see player name change history for a particular player

This could be as simple as something like <dname_1> => <dname_2> => <dname_now>

This would be useful for auditing and helping players and operators see "who is this new person here" when someone else has made the change.

Usability Notes:

  • It will probably be good to truncate display by default with a ...
  • it'd be nice to have a client-side option to display the progression as reversed (reversed of whatever the default direction is). I hesitate to use left-to-right or right-to-left because this opens up for ambiguous interpretation because of the below in my general case for this:

There's a case for ordering the chain right-to-left (now-to-past) vs left-to-right. We read left-to-right but some people want their eye drawn to the latest/current name first. Some feel way more comfortable reading it as (past-to-now) for the same reasons plus habits of reading graph plotted over time on the positive X axis.

[suggestion] ability to have "@p" within <fakename> or something similar

Basically add in a @- string that becomes the name of the player you are executing it on.

not as familiar with java but a possible example to add to the code:

fakename = fakename.replace("@-", playername);

may not be that simple of a fix of course, but just to help you visualize what im requesting.
Example 1:/fakename set Herobrine Tester/-@-`
Result: Tester Herobrine

This is useful for:
Server owners wanting to automate the process
Discord intergration (IE adding [role] to the beginning of names)
Ease of use if you only want to simply add suffixes or prefixes to your name
Modpacks that run generic run commands (in my case this is why im suggesting this)
In general allowing commands to not need to know the real name originally

[suggestion] Allow option for non-op players to be able to change their own names, but not others'.

As an operator, it's a bit of a pain to have to manage changing names when...

  • any new player is onboarded
  • every time any player wishes to change it
  • every time any player screws up their formatting (colors or spaces)
  • every time anyone wants to incorporate name changes into events, roleplaying, friendly immersive griefing, or whatever goofy reason.

This doesn't scale well, and some servers don't have to be proactive about functionally locking everything down, but instead favor reactive measures when server policies are broken.

Implementing this would make implementing #4 more impactful.

Can't Korean be applied?

When I type Korean in the fake name to change, an error appears and does not apply.

Can you do a multilingual input patch?

Aternos Server Crashes While Having Fakename Installed (Version 1.20.1)

Everytime I start the Aternos server, it just crashes immediately and it will not start. The only time that I can avoid crashing and to make it start again is to remove the Fakename Mod.

Analyzing the crash report, to potentially fix this issue, I would have to downgrade my Forge Version from 47.2.0 to 46-47.1.3 and that would actually mean downgrading to Minecraft 1.20 and I don't really wanna do that since if I were to do that, it will cause some complications with my other installed mods and it will crash again. Same result.

What do I need to do in order to avoid server crash?

Running on Forge 47.2.0 (1.20.1)
Fakename is on Version 1.3.1

CRASH REPORT: https://mclo.gs/L2zZTur
LOG: https://mclo.gs/hbU7Hxu

ATERNOS CRASH
ATERNOS CRASH 2

[suggestion] Save names

Would it be possible to have it save all the fake names made so you dont have to reset them every time the server is restarted ?

Color codes issues on 1.16

Hello, the owner! I'm playing the latest version of your mod on the latest version of 1.16.5 and when I set a fake name with a color code it says incorrect command

That's what I typed:

/fakename set cutecatalina &dAlaa -> /fakename set

While cutecatalina is my original username and &d is the purple color code

What do I do to make it work? Did I type a wrong command?

Tab List not working 1.19.2

So I'm having an issue on my server where the tablist doesn't 100% transfer. In tablist, I'm able to see my own fakename - but not others.

However, the interesting thing about this bug is that it automatically fixes itself when I go near the player.
image
In this image, my fake name displays (foreverplayerg) but the other person's does not. This applies to everyone's screen, meaning the other player sees their fake name but not mine.

Originally, I thought this was a conflict with localized chat, since the issue seems to only apply when far away from people, however I tested it without this mod and the same issue occurred.

Here's a mod list. ModList

Incompatible with Vampirism colored names

Versions:
Minecraft 1.12.2
Forge 14.23.5.2847
Fakename+MC1.12.2+v1.2

Description:
Vampirism have a colored name feature for factions (vampires/hunters).
The fakename is shown correctly over their head and in the player list but not in the chat.

Fakename not changing 1.18

Hi, I just recently downgraded my server's mods to 1.18.2 from 1.19.2. This error is just now occuring.

The player is changing their name and it changes in tablist and overhead, but not in chat or death messages. I've tried clearing their name and resetting it, I've tried reinstalling the mod, and I've even looked in player's NBT files. Even without the mod on the server, their name in chat is STUCK as a previous set fakename.
I'm unsure how to recreate this, but there is 2 people on my server with this error.
I've tried deleting player's data, that didn't change anything either.

When user joins server, sever is unable to serialize FakenameArgumentType

To reproduce:

  • Join the server
  • Check console logs

Extra information:

  • Forge version was 36.0.58
  • Mod version was 1.16.2-1.4.0.9

Console Logs:

14.03 14:53:46 [Connect] User Masked, IP Masked
14.03 14:53:46 [Server] Server thread/INFO [STDOUT/]: [tschipp.fakename.CommandFakeName:lambda$register$1:56]: false
14.03 14:53:46 [Server] Server thread/INFO [STDOUT/]: [tschipp.fakename.CommandFakeName:lambda$register$1:56]: 2
14.03 14:53:46 [Server] Server thread/INFO User Masked joined the game
14.03 14:53:46 [Server] Netty Epoll Server IO #15/ERROR Could not serialize tschipp.fakename.CommandFakeName$FakenameArgumentType@74fc3645 (class tschipp.fakename.CommandFakeName$FakenameArgumentType) - will not be sent to client!

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.