{"id":25660408,"url":"https://github.com/charming-byte/fivem-hypnonema","last_synced_at":"2025-10-07T00:40:30.773Z","repository":{"id":42127384,"uuid":"207469690","full_name":"charming-byte/fivem-hypnonema","owner":"charming-byte","description":"Media Player Resource for FiveM","archived":false,"fork":false,"pushed_at":"2025-06-29T23:14:42.000Z","size":4749,"stargazers_count":152,"open_issues_count":45,"forks_count":81,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-01T07:02:40.050Z","etag":null,"topics":["fivem","fivem-script"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/charming-byte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-09-10T05:05:07.000Z","updated_at":"2025-06-29T23:14:46.000Z","dependencies_parsed_at":"2025-07-01T07:02:45.428Z","dependency_job_id":"aeb54347-13ac-4eec-90de-b26ed34820fa","html_url":"https://github.com/charming-byte/fivem-hypnonema","commit_stats":null,"previous_names":["thiago-dev/fivem-hypnonema","charming-byte/fivem-hypnonema","all-in-simplicity/fivem-hypnonema"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/charming-byte/fivem-hypnonema","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charming-byte%2Ffivem-hypnonema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charming-byte%2Ffivem-hypnonema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charming-byte%2Ffivem-hypnonema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charming-byte%2Ffivem-hypnonema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charming-byte","download_url":"https://codeload.github.com/charming-byte/fivem-hypnonema/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charming-byte%2Ffivem-hypnonema/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278703578,"owners_count":26031204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fivem","fivem-script"],"created_at":"2025-02-24T02:00:18.345Z","updated_at":"2025-10-07T00:40:30.766Z","avatar_url":"https://github.com/charming-byte.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eHypnonema 🎬 🎥\u003c/h1\u003e\n\u003ch5\u003eMedia Player Resource for FiveM\u003c/h5\u003e\n\n![GitHub Repo stars](https://img.shields.io/github/stars/thiago-dev/fivem-hypnonema?style=social)\n![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/thiago-dev/fivem-hypnonema?include_prereleases\u0026style=flat-square)\n![GitHub all releases](https://img.shields.io/github/downloads/thiago-dev/fivem-hypnonema/total?style=flat-square)\n[![CC BY-NC-SA 4.0][cc-by-nc-sa-shield]][cc-by-nc-sa]\n![GitHub issues](https://img.shields.io/github/issues-raw/thiago-dev/fivem-hypnonema?style=flat-square)\n\n\n[![Hypnonema](https://raw.githubusercontent.com/thiago-dev/fivem-hypnonema/gh-pages/HypnonemaTitle.jpg)](https://raw.githubusercontent.com/thiago-dev/fivem-hypnonema/gh-pages/HypnonemaTitle.jpg \"Hypnonema\")\n## Table of Contents\n\n- [Table of Contents](#table-of-contents)\n- [Features](#features)\n- [Demo](#demo)\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Permissions](#permissions)\n  - [Example Permission Config](#example-permission-config)\n- [(Optional) Example Map](#optional-example-map)\n- [Customization](#customization)\n  - [Change command](#change-command)\n- [Exports](#exports)\n  - [Server-Side](#server-side)\n    - [play](#play)\n    - [pause](#pause)\n    - [stop](#stop)\n    - [resume](#resume)\n    - [repeat](#repeat)\n    - [seek](#seek)\n    - [getScreenList](#getscreenlist)\n    - [createScreen](#createscreen)\n    - [editScreen](#editscreen)\n    - [deleteScreen](#deletescreen)\n    - [getDuiState](#getduistate)\n- [License](#license)\n- [Support](#support)\n\n## Features\n- Synchronized\n- All HTML5 supported audio and video types including HLS/DASH plus Twitch / YouTube / DailyMotion / Facebook / Vimeo / Streamable / Vidme / Wistia / SoundCloud\n- Multi-Screen capable (watch multiple movies at once)\n- NUI Frontend\n- ACE-Permissions\n- Live-Edit Feature (simplifies scaleform placement)\n\n## Demo\n[Click me](https://youtu.be/JckYo8bKdnE)\n\n## Requirements\n- Recent [FiveM-Server](https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/?=t) Build\n\n## Installation\n1. Download the latest Release from [Github](https://github.com/thiago-dev/fivem-hypnonema/releases) and extract the zip file to your resources directory.\n2. (Optional) Edit permissions.cfg to your likings. See [Permissions](#permissions) for more information.\n3. Edit the `server.cfg` and add following lines:\n```\nexec @hypnonema/permissions.cfg\nstart hypnonema\n```\n\n## Permissions\nBy default only members of `group.admin` are allowed to interact with hypnonema.\nTo permit users to make use of all available functionality make sure to edit the `permissions.cfg` file inside the resource directory.\n\nBelow is a list of all available permission settings.\n| Permission                  | Description                                  |\n|-----------------------------|----------------------------------------------|\n| `hypnonema.screens.edit`    | Allow editing existing screens               |\n| `hypnonema.screens.create`  | Allow creating screens                       |\n| `hypnonema.screens.delete`  | Allow deleting screens                       |\n| `hypnonema.playback.play`   | Allow playing videos                         |\n| `hypnonema.playback.resume` | Allow resuming paused videos                 |\n| `hypnonema.playback.repeat` | Allow enabling/disabling repeating of videos |\n| `hypnonema.playback.pause`  | Allow pausing videos                         |\n| `hypnonema.playback.stop`   | Allow stopping videos                        |\n\n### Example permission config\nTo restrict creating / editing screens to admins only but allow everyone to control the playback use following settings.\n```\nadd_ace group.admin hypnonema.screens allow\nadd_ace builtin.everyone hypnonema.playback allow\n```\n\n## (Optional) Example Map\nThere is an example map included, just copy the folder **hypnonema-map** to your resource directory and paste following line into your `server.cfg`.\n```\nstart hypnonema-map\n``` \n\n\n## Customization\n### Change command\nIf you want to use your own command just edit the `fxmanifest.lua`. Don't add preceding slashes or any special characters.\n\n```\nhypnonema_command_name 'mynewcommand'\n```\n## Exports\n### Server-side\n#### play\n```lua\nexports.hypnonema:play(screenName, url)\n```\n#### pause\n```lua\nexports.hypnonema:pause(screenName)\n```\n\n#### stop\n```lua\nexports.hypnonema:stop(screenName)\n```\n\n#### resume\n```lua\nexports.hypnonema:resume(screenName)\n```\n\n#### repeat\n```lua \nexports.hypnonema:repeat(screenName, shouldRepeat)\n```\n\n#### seek\n```lua\nexports.hypnonema:seek(screenName, time)\n```\n\n#### getScreenList\n```lua\nlocal screens = json.decode(exports.hypnonema:getScreenList())\n```\n\n#### createScreen\n_Note: The parameter has to be in JSON format._\n```lua\nlocal exampleScreen = {\n    AlwaysOn = false,\n    DuiBrowserSettings = {\n        GlobalVolume = 100,\n        Is3DAudioEnabled = true,\n        SoundAttenuation = 10,\n        SoundMaxDistance = 200,\n        SoundMinDistance = 10,\n    },\n    Is3DRendered = true,\n    Name = \"Hypnonema Example Screen\",\n    PositionalSettings = {\n        PositionX = -1678.949,\n        PositionY = -928.3431,\n        PositionZ = 20.6290932,\n        RotationX = 0,\n        RotationY = 0,\n        RotationZ = -140,\n        ScaleX = 0.969999969,\n        ScaleY = 0.484999985,\n        ScaleZ = -0.1,\n    }\n}\n\nexports.hypnonema:createScreen(json.encode(exampleScreen))\n```\n\n#### editScreen\n_Note: The parameter has to be in JSON format_\n```lua\nexports.hypnonema:editScreen(jsonScreen)\n```\n\n#### deleteScreen\n```lua\nexports.hypnonema:deleteScreen(screenName)\n```\n\n#### getDuiState\nreturns a list containing current player states.\n```lua\nlocal duiState = json.decode(exports.hypnonema.getDuiState())\n```\n\n\n## License\nThis work is licensed under a\n[Creative Commons Attribution-NonCommercial 4.0 International License][cc-by-nc-sa].\n\n[![CC BY-NC 4.0][cc-by-nc-sa-image]][cc-by-nc-sa]\n\n## Support\nPlease use the [fivem-thread](https://forum.fivem.net/t/release-hypnonema-a-cinema-resource-update-now-with-twitch-support-c/783324) for support.\n\n[cc-by-nc-sa-image]: https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png\n\n[cc-by-nc-sa]: http://creativecommons.org/licenses/by-nc-sa/4.0/\n[cc-by-nc-sa-shield]: https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharming-byte%2Ffivem-hypnonema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharming-byte%2Ffivem-hypnonema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharming-byte%2Ffivem-hypnonema/lists"}