Reply to thread

[ATTACH=full]15329[/ATTACH]

Hi everyone! Welcome to the development thread of a Housekeeping project for Havana. For now the project it's not finished 100%, and I think was deprecated to do a release for production at the moment.


Features

  • Login/Session
    • Save and show last login IP from HK
    • Save and show last login time from HK
  • Statistics
    • Housekeeping login logs
  • Configurations
    • Reorganized all config settings
  • Admin tools
    • Remote alerting
    • Remote baning and kicking
    • Remote superban (original feature)
    • User action log
    • Remote mass alert
    • User search & information tool
    • Current furniture
    • Room admin (private rooms)
    • Room action log
    • CFH action log
    • User edit (original feature)
    • User create (original feature)
    • Wordfilter tool
    • Voucher codes tool
  • Campaign management
    • Staff picks tool (missing rooms)
    • Recommended groups tool


TODO

[SPOILER]

  • Log all activity of Staffs from Housekeeping (0%)
  • iot Help tool & log (50%)
  • Wordfilter tool (100%)
  • Voucher codes tool (100%)
  • Ads banners tool (50%)
  • Staff picks tool (99%)
  • Recommended groups tool (100%)
  • Hot campaings tool (50%)
  • FAQs tool (25%)

[/SPOILER]


Images

[SPOILER]

[ATTACH=full]15330[/ATTACH]


[ATTACH=full]15331[/ATTACH]


[ATTACH=full]15332[/ATTACH]

[/SPOILER]


Code snippet RCON Kick controller:

[SPOILER][CODE=java]String user = client.get().getString("user");

String moderator = playerDetails.getName();


try {

            RconUtil.sendCommand(RconHeader.MOD_KICK_USER, new HashMap<>() {{

                put("receiver", user);


            }});


            boolean dbInsertSuccess = HousekeepingCommandsDao.insertRconLog("REMOTE_KICK", user, moderator,"Has sido expulsado por un Moderador.");


            if (dbInsertSuccess) {

                client.session().set("alertColour", "success");

                client.session().set("alertMessage", "The Kick has been sent and logged in the database");

            } else {

                client.session().set("alertColour", "danger");

                client.session().set("alertMessage", "Error inserting the kick into the database");

            }

        } catch (Exception e) {

            client.session().set("alertColour", "danger");

            client.session().set("alertMessage", "Error sending the Kick: " + e.getMessage());

        }


        client.redirect("/" + Routes.HOUSEKEEPING_PATH + "/admin_tools/bans_kicks");

    }[/CODE][/SPOILER]


Install


-Download the latest Havana theallseeingeye v31 release: https://github.com/Sonykko/Havana_theallseeingeye/releases


-Check the Havana theallseeingeye R39 version: https://github.com/Sonykko/Havana_theallseeingeye/tree/develop-r39


-Need a tutorial? Check my tutorial video (only spanish for now): https://www.youtube.com/watch?v=0mxXTafKqlk



Credits

  • Habbo/Sulake for the designs
  • Quackster for Havana


[automerge]1706440300[/automerge]

New update (28/01/2024): Room Admin tool has been refactoriced.


-Now can search a room by name, description, room id, owner id and owner name, applying the filter what you want (Start with, contains...).

-Now can change the room category and their access type (open, doorbell, password, just like Havana Server traits).


Preview:

[SPOILER]

[ATTACH=full]15336[/ATTACH]

[/SPOILER]




Update 02/02/2024:


-Wordfilter tool has been done at 100%. You now can add, edit and delete a word for the wordfilter, all in the same page.

-Vouchers codes tool has been done at 100%. You now can add, edit and delete a voucher code, all in the same page.


Preview:

[SPOILER]

[ATTACH=full]15344[/ATTACH]


[ATTACH=full]15345[/ATTACH]

[/SPOILER]



Update 06/02/2024:


-Staff picks tool added. Now can add, edit and delete all staff picks, all in one page. Missing rooms feature bcs Havana don't have it.

-Recommended groups tool addedd. Now can add, edit, and delete all recommended groups, all in one page.



Update 09/02/2024:


-Added Housekeeping login logs. Now can see all login logs of Staffs, including the name, IP and date of it.

-Decided to no add the Ads banners & Hot Campaing tools at the moment.

-Descarted the iot & FAQs tools because they don't have directly relation with Housekeeping.

-theallseeingeye has been ported to HavanaR39. Now is time to check if all works propietly.



Update 10/02/2024:


-The first dev-build for v31 has been released for public. For install it go here: https://github.com/Sonykko/Havana_theallseeingeye/releases

-The first dev-build for R39 has been released for public. For check it go here: https://github.com/Sonykko/Havana_theallseeingeye/tree/develop-r39


Top