Skip to content

Conversation

@Qbiterv
Copy link

@Qbiterv Qbiterv commented Oct 12, 2025

No description provided.

@Qbiterv Qbiterv requested a review from a team as a code owner October 12, 2025 16:07
@CitralFlo CitralFlo linked an issue Oct 12, 2025 that may be closed by this pull request
@Qbiterv Qbiterv changed the title Physical withdraw GH-37 Physical withdrawal Oct 12, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a feature for players to withdraw in-game currency as physical items (checks). The implementation is mostly solid, but there are several critical and high-severity issues that need to be addressed. These include a bug that could cause players to lose items, potential data precision loss in the economy, incorrect permission setup, and a bug in argument parsing. I've also included some medium-severity suggestions to improve code quality and consistency.

@Jakubk15
Copy link
Member

And please, please adjust to Gemini's suggestions!

Copy link
Member

@P1otrulla P1otrulla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, but you need to clean up some things.

Change spigot API for paper and remove this hacks about display name etc.

We use Bukkit#getPlayer... only in utils etc -> use normal instance of server like Server#getPlayer

Add function to block renaming check as i told you on voice chat as we're talking about it.

Copy link
Member

@P1otrulla P1otrulla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Zrób reoznaczenie mnie jak skaczysz robić tego prka

…eImpl class for banknote handling. Add ConfigItem object to handle withdraw item properly
…figItem for better item handling and improve code readability
@Qbiterv Qbiterv requested a review from P1otrulla October 15, 2025 22:16
@Qbiterv Qbiterv self-assigned this Oct 16, 2025
…h MoneyFormatArgument for improved money value parsing
@vLuckyyy vLuckyyy removed the request for review from noyzys October 17, 2025 22:36
@P1otrulla P1otrulla removed their request for review October 18, 2025 14:35
@vLuckyyy vLuckyyy changed the title GH-37 Physical withdrawal GH-37 Implement /withdraw command for physical banknote withdrawal Oct 20, 2025
@CitralFlo CitralFlo requested a review from P1otrulla October 24, 2025 11:20
@Qbiterv Qbiterv requested a review from CitralFlo October 24, 2025 18:19
@vLuckyyy vLuckyyy requested a review from imDMK November 4, 2025 15:49
Copy link

@imDMK imDMK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job

Copy link
Member

@CitralFlo CitralFlo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rollback changes regarding Argument

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Withdraw physical currency using /withdraw command

6 participants